Avoid curl | bash
This commit is contained in:
parent
cb10936a1d
commit
f5c5570fca
1 changed files with 8 additions and 2 deletions
10
Dockerfile
10
Dockerfile
|
@ -3,14 +3,20 @@ MAINTAINER Petr Sloup <petr.sloup@klokantech.com>
|
||||||
|
|
||||||
RUN apt-get -qq update \
|
RUN apt-get -qq update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y install \
|
&& DEBIAN_FRONTEND=noninteractive apt-get -y install \
|
||||||
|
apt-transport-https \
|
||||||
curl \
|
curl \
|
||||||
unzip \
|
unzip \
|
||||||
build-essential \
|
build-essential \
|
||||||
python \
|
python \
|
||||||
libcairo2-dev \
|
libcairo2-dev \
|
||||||
|
nodejs \
|
||||||
xvfb \
|
xvfb \
|
||||||
&& curl -sL https://deb.nodesource.com/setup_4.x | bash - \
|
&& echo "deb https://deb.nodesource.com/node_4.x jessie main" >> /etc/apt/sources.list.d/nodejs.list \
|
||||||
&& apt-get -y install nodejs \
|
&& echo "deb-src https://deb.nodesource.com/node_4.x jessie main" >> /etc/apt/sources.list.d/nodejs.list \
|
||||||
|
&& apt-get -qq update \
|
||||||
|
&& DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated install \
|
||||||
|
nodejs \
|
||||||
|
&& rm /etc/apt/sources.list.d/nodejs.list \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
|
|
Loading…
Reference in a new issue