We use these dockerfiles to update the images that we have hosted on docker hub which our workflows, like the buildbot, pulls from.
To build the dockerfiles inside this directory, run the following command:
docker build -t mesos/mesos-build:centos-7 -f centos-7.dockerfile --platform=linux/amd64 . docker build -t mesos-build:ubuntu-20.04 -f ubuntu-20.04.dockerfile --platform=linux/amd64 . docker build -t mesos-build:ubuntu-20.04-arm -f ubuntu-20.04-arm.dockerfile --platform=linux/arm64 .
Ensure you have your tag for the image as mesos/mesos-build:<OS version>
as shown above.
docker push mesos/mesos-build:centos-7 docker push mesos/mesos-build:ubuntu-20.04 docker push mesos/mesos-build:ubuntu-20.04-arm
You need to be an authenticated user who is authorized in order to perform docker push successfully