Dockerfile combine RUN command
This commit is contained in:
parent
87053a262b
commit
29b8ea7d67
1 changed files with 8 additions and 7 deletions
15
Dockerfile
15
Dockerfile
|
@ -1,12 +1,13 @@
|
||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update && apt-get install -y \
|
||||||
RUN apt-get -y install python-software-properties software-properties-common
|
python-software-properties \
|
||||||
RUN add-apt-repository ppa:chris-lea/libsodium
|
software-properties-common \
|
||||||
RUN echo "deb http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list
|
&& add-apt-repository ppa:chris-lea/libsodium \
|
||||||
RUN echo "deb-src http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list
|
&& echo "deb http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list \
|
||||||
RUN apt-get update
|
&& echo "deb-src http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list \
|
||||||
RUN apt-get install -y libsodium-dev python-pip
|
&& apt-get update \
|
||||||
|
&& apt-get install -y libsodium-dev python-pip
|
||||||
|
|
||||||
RUN pip install shadowsocks
|
RUN pip install shadowsocks
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue