22 lines
657 B
Plaintext
22 lines
657 B
Plaintext
# NOTE: This should be added as the last template entry
|
|
# as it will always modify a layer (since the Dockerfile
|
|
# changes,) causing all subsequent layers to be
|
|
# regenerated.
|
|
|
|
# Copy boiler plate entry point
|
|
COPY assets/ /assets/
|
|
ENTRYPOINT [ "/assets/entry" ]
|
|
|
|
# Ensure that each Docker container self-documents the
|
|
# versions included in it
|
|
|
|
RUN { \
|
|
echo "PACKAGE_REPOSITORY=${PACKAGE_REPOSITORY}" ; \
|
|
echo "RELEASE_INFO=${RELEASE_INFO}" ; \
|
|
echo "PACKAGE_STREAM=${PACKAGE_STREAM}" ; \
|
|
echo "OS_DISTRO=${OS_DISTRO}" ; \
|
|
echo "OS_RELEASE=${OS_RELEASE}" ; \
|
|
} | tee /assets/SOLUTION
|
|
COPY MANIFEST /assets/
|
|
COPY ${DOCKERFILE} /assets/Dockerfile
|