Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pavel Kuzin
tower
Commits
d33f7726
Commit
d33f7726
authored
Jul 10, 2017
by
Aleksey Shirokih
Browse files
better build on debian 9
parent
db22ebf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
d33f7726
...
...
@@ -11,10 +11,7 @@ ENV ANSIBLE_HOST_KEY_CHECKING=False \
RUN
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
python-virtualenv
\
virtualenv
\
ca-certificates
\
python-setuptools
\
libffi6 libffi-dev
\
libffi-dev
\
python-dev gcc
\
openssh-client
\
libssl-dev
\
...
...
@@ -25,13 +22,9 @@ RUN apt-get update \
git
\
&&
rm
-rf
/var/cache/apk/
*
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
mkdir
/opt/tower
\
&&
curl https://cdn.getnoc.com/tower/noc-tower-latest.zip
-Lo
/tmp/noc-tower-latest.zip
\
&&
virtualenv /opt/tower
\
&&
/opt/tower/bin/pip
install
/tmp/noc-tower-latest.zip
\
&&
rm
/tmp/noc-tower-latest.zip
\
&&
apt-get
-y
purge libffi6 libffi-dev python-dev gcc libssl-dev gcc-6 cpp-6 libc6-dev
\
&&
apt-get
-y
autoremove
&&
/opt/tower/bin/pip
install
https://cdn.getnoc.com/tower/noc-tower-latest.zip
\
&&
apt-get
-y
purge gcc libssl-dev libffi-dev
WORKDIR
/opt/tower
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment