# Docker file written for ICEDUST docker-in-docker continuous integration # testing # Define the base container to build from FROM gitlab-registry.in2p3.fr/comet/icedust_externals_source_lfs:alma92-base_from_externals_cleanup MAINTAINER Per Jonsson "per.jonsson@imperial.ac.uk" # Set the location of the build directory and packages directory ARG BUILD_IN=/build_input ENV BUILD_IN=/build_input ARG ICEDUST_PACKAGES=/cvmfs_copy/ICEDUST/ICEDUST_packages ENV ICEDUST_PACKAGES=/cvmfs_copy/ICEDUST/ICEDUST_packages # Copy the git files from the build context (on host) to the empty build input # directory (inside container) COPY ./ ${BUILD_IN} # Copy over any changes to the build scripts before we run them COPY IcedustTest/docker/ $ICEDUST_PACKAGES/IcedustTest/docker/ # By default compile the code ARG NC=0 # Run the build script RUN $ICEDUST_PACKAGES/IcedustTest/docker/docker_build_script.sh