Univention Bugzilla – Bug 51969
UCS 5.0-0 docker images
Last modified: 2021-06-01 10:31:51 CEST
UCS 5.0-0 docker images should be created by using the jenkins job.
0ef1ee1ff962 | Bug #51969: Switch to UCS-5.0-0 docker image for building
I've build UCS Appliance Container images from updates-test following this manual build process: root@master50:~# git clone git@git.knut.univention.de:univention/ucs-appliance-container.git root@master50:~# cd ucs-appliance-container root@master50:~# git checkout updates-test root@master50:~# VERSION="5.0-0"; \ time sh bootstrap/bootstrap.sh \ --use-cache \ --arch amd64 \ --distribution univention-corporate-server \ --codename ucs$(echo ${VERSION} | tr --complement --delete '[:digit:]') root@master50:~/ucs-appliance-container# docker images REPOSITORY TAG IMAGE ID CREATED SIZE univention-corporate-server-debootstrap 5.0-0 0bc93a48e613 2 minutes ago 426MB univention-corporate-server-debootstrap latest 0bc93a48e613 2 minutes ago 426MB root@master50:~# VERSION="5.0-0"; IMAGE="univention-corporate-server-debootstrap"; TAG="latest"; \ time docker build \ --build-arg DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \ --build-arg VERSION=${VERSION} \ --build-arg COMMENT="$(docker image inspect --format '{{.Comment}}' ${IMAGE}:${TAG})" \ --build-arg IMAGE=${IMAGE} \ --build-arg TAG=${TAG} \ --tag univention-corporate-server:${VERSION} \ --tag univention-corporate-server:${TAG} . root@master50:~/ucs-appliance-container# docker images REPOSITORY TAG IMAGE ID CREATED SIZE univention-corporate-server 5.0-0 f479963c25dd About a minute ago 549MB univention-corporate-server latest f479963c25dd About a minute ago 549MB univention-corporate-server-debootstrap 5.0-0 0bc93a48e613 6 minutes ago 426MB univention-corporate-server-debootstrap latest 0bc93a48e613 6 minutes ago 426MB I've test-uploaded the resulting image to https://quay.io/repository/reqa/univention-corporate-server The Image can be tested e.g. by running: root@master50:~# FQDN=dc.ucs.example; \ docker run \ --detach \ --cap-add SYS_ADMIN \ --cap-add MKNOD \ --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \ --tmpfs /run \ --tmpfs /tmp \ --restart unless-stopped \ --hostname ${FQDN} \ --name ${FQDN} \ quay.io/reqa/univention-corporate-server:5.0-0-rc1 TODO after UCS 5.0 Release: * build final images using the official UCS repository * upload them to hub.docker (and maybe quay.io too). * Adjust the Jenkins job to automate this Please reopen and set Keyword to interim-9 after initial QA.
I like the new images. Everything seems to work flawless (once you read the instructions...)
* Image: https://hub.docker.com/r/univention/univention-corporate-server * Source Repo: https://github.com/univention/ucs-appliance-container
The image works. Repository settings are now up to date.
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".