@@ -27,7 +27,9 @@ for releases. A very good candidate to be used by the Jenkins slaves of the proj
2727
2828## Supported tags and respective ` Dockerfile ` links
2929
30- - [ ` latest ` , ` ubuntu1804 ` (ubuntu1804/Dockerfile)] [ latest-dockerfile ]
30+ - [ ` latest ` , ` ubuntu2004 ` (ubuntu2004/Dockerfile)] [ ubuntu2004-dockerfile ]
31+ - [ ` ubuntu2004-jdk11 ` (ubuntu2004-jdk11/Dockerfile)] [ ubuntu2004-jdk11-dockerfile ]
32+ - [ ` ubuntu1804 ` (ubuntu1804/Dockerfile)] [ ubuntu1804-dockerfile ]
3133- [ ` ubuntu1804-jdk11 ` (ubuntu1804-jdk11/Dockerfile)] [ ubuntu1804-jdk11-dockerfile ]
3234- [ ` ubuntu1604 ` (ubuntu1604/Dockerfile)] [ ubuntu1604-dockerfile ]
3335- [ ` ubuntu1404 ` (ubuntu1404/Dockerfile)] [ ubuntu1404-dockerfile ]
@@ -57,14 +59,14 @@ required:
5759
5860### Pull Docker images
5961
60- Let's assume we want to build packages for Ubuntu 16 .04 (Xenial ). We pull that
62+ Let's assume we want to build packages for Ubuntu 20 .04 (Focal ). We pull that
6163image first:
6264
6365``` bashe
64- docker pull khos2ow/cloudstack-deb-builder:ubuntu1604
66+ docker pull khos2ow/cloudstack-deb-builder:ubuntu2004
6567```
6668
67- You can replace ` ubuntu1604 ` tag by ` ubuntu1804 ` , ` ubuntu1404 ` or ` latest ` if
69+ You can replace ` ubuntu2004 ` tag by ` ubuntu1804 ` , ` ubuntu1404 ` or ` latest ` if
6870you want.
6971
7072### Build local repository
@@ -92,7 +94,7 @@ always expects the `cloudstack` code exists in `/mnt/build` path.)
9294``` bash
9395docker run \
9496 -v /tmp:/mnt/build \
95- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
97+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
9698```
9799
98100Or if your local cloudstack folder has other name, you need to map it to
@@ -101,7 +103,7 @@ Or if your local cloudstack folder has other name, you need to map it to
101103``` bash
102104docker run \
103105 -v /tmp/cloudstack-custom-name:/mnt/build/cloudstack \
104- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
106+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
105107```
106108
107109After the build has finished the ` .deb ` packages are available in
@@ -125,7 +127,7 @@ in `/mnt/build/cloudstack` inside the container and can be accessed from
125127``` bash
126128docker run \
127129 -v /tmp:/mnt/build \
128- khos2ow/cloudstack-deb-builder:ubuntu1604 \
130+ khos2ow/cloudstack-deb-builder:ubuntu2004 \
129131 --git-remote https://github.com/apache/cloudstack.git \
130132 --git-ref master \
131133 [ARGS...]
@@ -155,7 +157,7 @@ it run faster.
155157docker run \
156158 -v /tmp:/mnt/build \
157159 -v ~ /.m2:/root/.m2 \
158- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
160+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
159161```
160162
161163### Adjust host owner permission
@@ -175,7 +177,7 @@ docker run \
175177 -v /tmp:/mnt/build \
176178 -e " USER_ID=$( id -u) " \
177179 -e " USER_GID=$( id -g) " \
178- khos2ow/cloudstack-deb-builder:ubuntu1604 [ARGS...]
180+ khos2ow/cloudstack-deb-builder:ubuntu2004 [ARGS...]
179181```
180182
181183## Builder help
@@ -185,7 +187,7 @@ To see all the available options you can pass to `docker run ...` command:
185187``` bash
186188docker run \
187189 -v /tmp:/mnt/build \
188- khos2ow/cloudstack-deb-builder:ubuntu1604 --help
190+ khos2ow/cloudstack-deb-builder:ubuntu2004 --help
189191```
190192
191193## License
@@ -195,8 +197,10 @@ included in the root directory of the source tree for extended license details.
195197
196198[ Apache License version 2.0 ] : http://www.apache.org/licenses/LICENSE-2.0
197199[ LICENSE ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/LICENSE
198- [ latest-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1804/Dockerfile
199200[ ubuntu1404-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1404/Dockerfile
200201[ ubuntu1604-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1604/Dockerfile
202+ [ ubuntu1804-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1804/Dockerfile
201203[ ubuntu1804-jdk11-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu1804-jdk11/Dockerfile
204+ [ ubuntu2004-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu2004/Dockerfile
205+ [ ubuntu2004-jdk11-dockerfile ] : https://github.com/khos2ow/cloudstack-deb-builder/blob/master/ubuntu2004-jdk11/Dockerfile
202206[ https://github.com/apache/cloudstack ] : https://github.com/apache/cloudstack
0 commit comments