@@ -28,7 +28,8 @@ This will give portable, immutable and reproducable mechanism to build packages
2828
2929## Supported tags and respective ` Dockerfile ` links
3030
31- - [ ` latest ` , ` ubuntu1804 ` (ubuntu1804/Dockerfile)] ( https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1804/Dockerfile )
31+ - [ ` latest ` , ` ubuntu2004 ` (ubuntu2004/Dockerfile)] ( https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu2004/Dockerfile )
32+ - [ ` ubuntu1804 ` (ubuntu1804/Dockerfile)] ( https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1804/Dockerfile )
3233- [ ` ubuntu1604 ` (ubuntu1604/Dockerfile)] ( https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1604/Dockerfile )
3334- [ ` ubuntu1404 ` (ubuntu1404/Dockerfile)] ( https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1404/Dockerfile )
3435
@@ -56,11 +57,11 @@ Building DEB packages with the Docker container is rather easy, a few steps are
5657
5758### Pull Docker images
5859
59- Let's assume we want to build packages for Ubuntu 16 .04 (Xenial ). We pull that image first:
60+ Let's assume we want to build packages for Ubuntu 20 .04 (Focal ). We pull that image first:
6061
61- docker pull khos2ow/cloudstack-deb-builder:ubuntu1604
62+ docker pull khos2ow/cloudstack-deb-builder:ubuntu2004
6263
63- You can replace ` ubuntu1604 ` tag by ` ubuntu1804 ` , ` ubuntu1404 ` or ` latest ` if you want.
64+ You can replace ` ubuntu2004 ` tag by ` ubuntu1804 ` , ` ubuntu1604 ` , ` ubuntu1404 ` or ` latest ` if you want.
6465
6566### Build local repository
6667
@@ -80,13 +81,13 @@ Now that we have cloned the CloudStack source code locally, we can build package
8081
8182 docker run \
8283 -v /tmp:/mnt/build \
83- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
84+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
8485
8586Or if your local cloudstack folder has other name, you need to map it to ` /mnt/build/cloudstack ` .
8687
8788 docker run \
8889 -v /tmp/cloudstack-custom-name:/mnt/build/cloudstack \
89- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
90+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
9091
9192After the build has finished the * .deb* packages are available in * /tmp/cloudstack/dist/debbuild/DEBS* on the host system.
9293
@@ -100,7 +101,7 @@ Now let's assume we want to build packages of `HEAD` of `master` branch from htt
100101
101102 docker run \
102103 -v /tmp:/mnt/build \
103- khos2ow/cloudstack-deb-builder:ubuntu1604 \
104+ khos2ow/cloudstack-deb-builder:ubuntu2004 \
104105 --git-remote https://github.com/apache/cloudstack.git \
105106 --git-ref master \
106107 [ARGS...]
@@ -126,7 +127,7 @@ You can provide Maven cache folder (`~/.m2`) as a volume to the container to mak
126127 docker run \
127128 -v /tmp:/mnt/build \
128129 -v ~/.m2:/root/.m2 \
129- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
130+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
130131
131132### Adjust host owner permission
132133
@@ -138,15 +139,15 @@ This is specially useful if you want to use this image in Jenkins job and want t
138139 -v /tmp:/mnt/build \
139140 -e "USER_ID=$(id -u)" \
140141 -e "USER_GID=$(id -g)" \
141- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
142+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
142143
143144## Builder help
144145
145146To see all the available options you can pass to ` docker run ... ` command:
146147
147148 docker run \
148149 -v /tmp:/mnt/build \
149- khos2ow/cloudstack-deb-builder:ubuntu1604 --help
150+ khos2ow/cloudstack-deb-builder:ubuntu2004 --help
150151
151152## License
152153
0 commit comments