23 lines
793 B
Docker
23 lines
793 B
Docker
|
|
FROM ${os.image.prefix}${os.image.name}:${os.image.version}${os.image.suffix}
|
|
|
|
ENV SKIP_ENTRYPOINT_SCRIPTS=false
|
|
ENV VERBOSE=true
|
|
ENV ENTRYPOINT_EXEC=
|
|
|
|
# these are effectively immutable; provided to be used by extending images
|
|
# the entrypoint will re-set these in case they are changed
|
|
ENV CONTAINERD_ENTRYPOINT_PATH="${image.containerd.directory}"
|
|
ENV CACERT_INSTALL_PATH="/usr/local/share/ca-certificates"
|
|
|
|
# Install curl & essentials
|
|
RUN apt update && \
|
|
apt -y install curl
|
|
|
|
# Add our Docker container initialization scripts
|
|
ADD --chmod=755 maven/entrypoint.sh ${image.containerd.directory}/entrypoint.sh
|
|
# RUN chmod 755 ${image.containerd.directory}/entrypoint.sh
|
|
|
|
# Execute the Docker container initialization script
|
|
ENTRYPOINT [ "${image.containerd.directory}/entrypoint.sh" ]
|