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:
parent
269292a4bd
commit
47112810e7
@ -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" ]
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user