Skip to content

Commit

Permalink
Fixes "Empty continuation line" warning
Browse files Browse the repository at this point in the history
According moby issue, it will be forbidden to inset comment in between multiline commands
moby/moby#29005
  • Loading branch information
OctavioBR committed Oct 20, 2017
1 parent c29d786 commit 1c663c6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,21 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
ENV BUILD_PACKAGES "apt-transport-https python-pip"
ENV RUNTIME_PACKAGES "curl build-essential ca-certificates fontconfig"

# update & add packages ################################################################################################
RUN apt-get update \
&& apt-get install -y $BUILD_PACKAGES $RUNTIME_PACKAGES \

# docker ###############################################################################################################
&& echo "deb https://apt.dockerproject.org/repo debian-jessie main" > /etc/apt/sources.list.d/docker.list \
&& apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D \

&& apt-get update \
&& apt-get install -y docker-engine=$DOCKER_VERSION \
&& pip install docker-compose \
# nodejs ###############################################################################################################
&& curl -sL https://deb.nodesource.com/setup_$NODEJS_VERSION | bash \
&& apt-get install -y nodejs \
&& npm install -g --unsafe-perm bower gulp phantomjs-prebuilt \

# golang ###############################################################################################################
&& curl -fsSL "https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz" -o golang.tar.gz \
&& echo "1862f4c3d3907e59b04a757cfda0ea7aa9ef39274af99a784f5be843c80c6772 golang.tar.gz" | sha256sum -c - \
&& tar -C /usr/local -xzf golang.tar.gz \
&& rm golang.tar.gz \
&& mkdir -p "$GOPATH/src" "$GOPATH/bin" \
&& chmod -R 777 "$GOPATH" \

# rm build packages ####################################################################################################
&& apt-get remove --purge -y $BUILD_PACKAGES \
&& rm -rf /var/lib/apt/lists/*

0 comments on commit 1c663c6

Please sign in to comment.