ADD file:e51d4089e73ad6dee52b31f0c8059a00c17df6e23f6741fe11b43bd84cc99008 in / |
CMD ["/bin/sh"] |
ARG BASE_IMAGE |
ARG KEEP |
ARG SYSADMIN_PW |
ARG LINUX_DISTRO=alpine |
ARG BUILD_DIR=/build |
WORKDIR /build |
COPY .src/packages ./packages # buildkit |
RUN |5 BASE_IMAGE=alpine KEEP= SYSADMIN_PW=ucommandit LINUX_DISTRO=alpine BUILD_DIR=/build /bin/sh -c echo -e "\n ************************************************* \n"
echo "Building Image from Base: $BASE_IMAGE"
echo "Distro: $LINUX_DISTRO; *****"
echo " ---- running packages install script ---"
cd packages; /bin/sh ./packages.sh; cd ..
echo -e "\n********************************************************"
# buildkit |
COPY .src/init ./init # buildkit |
RUN |5 BASE_IMAGE=alpine KEEP= SYSADMIN_PW=ucommandit LINUX_DISTRO=alpine BUILD_DIR=/build /bin/sh -c echo -e "\n ************************************************* \n" echo "****** Initializing Image "; cd init; chmod -R +x .; pwd; ls -la; echo " ---- running init script ---"; /bin/bash ./init.sh; echo -e "\n ************* End Initialzation ************************" # buildkit |
CMD ["/bin/bash" "-l"] |
WORKDIR /opt |