mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
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.
13 lines
212 B
Docker
13 lines
212 B
Docker
FROM ubuntu:14.04
|
|
MAINTAINER Phusion <info@phusion.nl>
|
|
|
|
ENV HOME /root
|
|
ADD . /build
|
|
|
|
RUN /build/prepare.sh && \
|
|
/build/system_services.sh && \
|
|
/build/utilities.sh && \
|
|
/build/cleanup.sh
|
|
|
|
CMD ["/sbin/my_init"]
|