1
0

Move asset/ copying and entrypoint into boilerplate template/ending.in instead of Dockerfile.solution

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2019-10-15 13:30:52 -07:00
parent 269292a4bd
commit 47112810e7
2 changed files with 5 additions and 5 deletions

View File

@ -56,12 +56,7 @@ RUN apt-get -q update \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY assets/ /assets/
# Copy ffmpeg and ffprobe from build container # Copy ffmpeg and ffprobe from build container
COPY --from=solution-build /usr/local/bin/ /usr/local/bin/ COPY --from=solution-build /usr/local/bin/ /usr/local/bin/
WORKDIR /home/agama WORKDIR /home/agama
ENTRYPOINT [ "/assets/entry" ]

View File

@ -3,6 +3,11 @@
# changes,) causing all subsequent layers to be # changes,) causing all subsequent layers to be
# regenerated. # regenerated.
# Copy boiler plate entry point
COPY assets/ /assets/
ENTRYPOINT [ "/assets/entry" ]
# Ensure that each Docker container self-documents the # Ensure that each Docker container self-documents the
# versions included in it # versions included in it