1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

remove Dockerfile step for mkdir /build

The ADD command will create /build automatically, so the RUN mkdir step
can be safely removed. Also, this has the benefit of reducing the number
of steps in the Dockerfile which is helpful for not as quickly hitting
the 127 layer limit.
This commit is contained in:
Bryan Bishop 2014-11-24 10:56:23 -06:00
parent e54a443cca
commit 81af926a78

View File

@ -2,7 +2,6 @@ FROM ubuntu:14.04
MAINTAINER Phusion <info@phusion.nl> MAINTAINER Phusion <info@phusion.nl>
ENV HOME /root ENV HOME /root
RUN mkdir /build
ADD . /build ADD . /build
RUN /build/prepare.sh && \ RUN /build/prepare.sh && \