Event Timeline
Comment Actions
Goal
Create a (Debian) -- as it would be done via puppet -- that matches the host architecture.
Usage
Clone the puppet repository and create the build environment image:
export DISTRO=buster git clone --branch production ssh://gerrit.wikimedia.org:29418/operations/puppet cd puppet/modules/docker/files docker build --build-arg DISTRO=$DISTRO --no-cache -f path/to/Dockerfile -t $DISTRO-docker-debuerreotype:latest .
Once the build environment is ready, build the base image:
docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock --rm $DISTRO-docker-debuerreotype:latest docker tag docker-registry.discovery.wmnet/buster:20221007 docker-registry.wikimedia.org/wikimedia-$DISTRO:latest
Continue with docker-pkg:
git clone ssh://gerrit.wikimedia.org:29418/releng/dev-images cd dev-images docker-pkg --debug -c dockerfiles/config.yaml build --select '*$DISTRO-php74*' --no-pull dockerfiles