Skip to content

Commit

Permalink
[TW-86217] Update Docker-CE & Containerd packages (#140)
Browse files Browse the repository at this point in the history
* Bump up Docker version to 24.0.2

* Update Docker vrsion to 25.0.

* Update the installaton of Docker inside of the images.

* Update containerd.

* Update docker-ce to 26.0.0

* Use Docker-Ce 24.0.9

* Re-generate documentation.
  • Loading branch information
AndreyKoltsov1997 authored Mar 26, 2024
1 parent 32172a6 commit 35c8569
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 52 deletions.
8 changes: 4 additions & 4 deletions configs/linux.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ gitLFSLinuxComponentVersion=2.9.2-1
gitLFSLinuxComponentName=Git LFS v.2.9.2

dockerComposeLinuxComponentVersion=1.28.5
dockerLinuxComponentVersion=5:20.10.12~3-0~ubuntu
dockerLinuxComponentName=[Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
dockerLinuxComponentVersion=5:24.0.9-1~ubuntu
dockerLinuxComponentName=[Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)

containerdIoLinuxComponentName=[Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
containerdIoLinuxComponentVersion=1.4.12-1
containerdIoLinuxComponentName=[Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
containerdIoLinuxComponentVersion=1.6.28-2

# https://www.perforce.com/perforce-packages
# https://package.perforce.com/apt/ubuntu/dists/focal/release/binary-amd64/Packages
Expand Down
9 changes: 5 additions & 4 deletions configs/linux/Agent/Ubuntu/Ubuntu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ RUN apt-get update && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
containerd.io:amd64=${containerdIoLinuxComponentVersion} \
systemd && \
# docker-ce, docker-ce-cli package name format: "25.0.5-1~ubuntu.20.04~focal"
apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
containerd.io:amd64=${containerdIoLinuxComponentVersion} \
systemd && \
systemctl disable docker && \
sed -i -e 's/\r$//' /services/run-docker.sh && \
# Docker Compose
Expand Down
9 changes: 5 additions & 4 deletions configs/linux/Agent/UbuntuARM/UbuntuARM.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ RUN apt-get update && \
add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
containerd.io:arm64=${containerdIoLinuxComponentVersion} \
systemd && \
# docker-ce, docker-ce-cli package name format: "26.0.0-1~ubuntu.20.04~focal"
apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
containerd.io:arm64=${containerdIoLinuxComponentVersion} \
systemd && \
systemctl disable docker && \
sed -i -e 's/\r$//' /services/run-docker.sh && \
# Docker-Compose
Expand Down
13 changes: 7 additions & 6 deletions context/generated/linux/Agent/Ubuntu/18.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default arguments
ARG containerdIoLinuxComponentVersion='1.4.12-1'
ARG containerdIoLinuxComponentVersion='1.6.28-2'
ARG dockerComposeLinuxComponentVersion='1.28.5'
ARG dockerLinuxComponentVersion='5:20.10.12~3-0~ubuntu'
ARG dockerLinuxComponentVersion='5:24.0.9-1~ubuntu'
ARG dotnetLibs='libc6 libgcc1 libgssapi-krb5-2 libicu60 libssl1.1 libstdc++6 zlib1g'
ARG dotnetLinuxComponent='https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-x64.tar.gz'
ARG dotnetLinuxComponentSHA512='ee0a77d54e6d4917be7310ff0abb3bad5525bfb4beb1db0c215e65f64eb46511f5f12d6c7ff465a1d4ab38577e6a1950fde479ee94839c50e627020328a702de'
Expand Down Expand Up @@ -80,10 +80,11 @@ RUN apt-get update && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
containerd.io:amd64=${containerdIoLinuxComponentVersion} \
systemd && \
# docker-ce, docker-ce-cli package name format: "25.0.5-1~ubuntu.20.04~focal"
apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
containerd.io:amd64=${containerdIoLinuxComponentVersion} \
systemd && \
systemctl disable docker && \
sed -i -e 's/\r$//' /services/run-docker.sh && \
# Docker Compose
Expand Down
13 changes: 7 additions & 6 deletions context/generated/linux/Agent/Ubuntu/20.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default arguments
ARG containerdIoLinuxComponentVersion='1.4.12-1'
ARG containerdIoLinuxComponentVersion='1.6.28-2'
ARG dockerComposeLinuxComponentVersion='1.28.5'
ARG dockerLinuxComponentVersion='5:20.10.12~3-0~ubuntu'
ARG dockerLinuxComponentVersion='5:24.0.9-1~ubuntu'
ARG dotnetLibs='libc6 libgcc1 libgssapi-krb5-2 libicu66 libssl1.1 libstdc++6 zlib1g'
ARG dotnetLinuxComponent='https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-x64.tar.gz'
ARG dotnetLinuxComponentSHA512='ee0a77d54e6d4917be7310ff0abb3bad5525bfb4beb1db0c215e65f64eb46511f5f12d6c7ff465a1d4ab38577e6a1950fde479ee94839c50e627020328a702de'
Expand Down Expand Up @@ -80,10 +80,11 @@ RUN apt-get update && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
containerd.io:amd64=${containerdIoLinuxComponentVersion} \
systemd && \
# docker-ce, docker-ce-cli package name format: "25.0.5-1~ubuntu.20.04~focal"
apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
containerd.io:amd64=${containerdIoLinuxComponentVersion} \
systemd && \
systemctl disable docker && \
sed -i -e 's/\r$//' /services/run-docker.sh && \
# Docker Compose
Expand Down
13 changes: 7 additions & 6 deletions context/generated/linux/Agent/UbuntuARM/18.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default arguments
ARG containerdIoLinuxComponentVersion='1.4.12-1'
ARG containerdIoLinuxComponentVersion='1.6.28-2'
ARG dockerComposeLinuxComponentVersion='1.28.5'
ARG dockerLinuxComponentVersion='5:20.10.12~3-0~ubuntu'
ARG dockerLinuxComponentVersion='5:24.0.9-1~ubuntu'
ARG dotnetLibs='libc6 libgcc1 libgssapi-krb5-2 libicu60 libssl1.1 libstdc++6 zlib1g'
ARG dotnetLinuxARM64Component='https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-arm64.tar.gz'
ARG dotnetLinuxARM64ComponentSHA512='7f05a9774d79e694da5a6115d9916abf87a65e40bd6bdaa5dca1f705795436bc8e764242f7045207386a86732ef5519f60bdb516a3860e4860bca7ee91a21759'
Expand Down Expand Up @@ -69,10 +69,11 @@ RUN apt-get update && \
add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
containerd.io:arm64=${containerdIoLinuxComponentVersion} \
systemd && \
# docker-ce, docker-ce-cli package name format: "26.0.0-1~ubuntu.20.04~focal"
apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
containerd.io:arm64=${containerdIoLinuxComponentVersion} \
systemd && \
systemctl disable docker && \
sed -i -e 's/\r$//' /services/run-docker.sh && \
# Docker-Compose
Expand Down
13 changes: 7 additions & 6 deletions context/generated/linux/Agent/UbuntuARM/20.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default arguments
ARG containerdIoLinuxComponentVersion='1.4.12-1'
ARG containerdIoLinuxComponentVersion='1.6.28-2'
ARG dockerComposeLinuxComponentVersion='1.28.5'
ARG dockerLinuxComponentVersion='5:20.10.12~3-0~ubuntu'
ARG dockerLinuxComponentVersion='5:24.0.9-1~ubuntu'
ARG dotnetLibs='libc6 libgcc1 libgssapi-krb5-2 libicu66 libssl1.1 libstdc++6 zlib1g'
ARG dotnetLinuxARM64Component='https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-arm64.tar.gz'
ARG dotnetLinuxARM64ComponentSHA512='7f05a9774d79e694da5a6115d9916abf87a65e40bd6bdaa5dca1f705795436bc8e764242f7045207386a86732ef5519f60bdb516a3860e4860bca7ee91a21759'
Expand Down Expand Up @@ -69,10 +69,11 @@ RUN apt-get update && \
add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \
apt-cache policy docker-ce && \
apt-get update && \
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) \
containerd.io:arm64=${containerdIoLinuxComponentVersion} \
systemd && \
# docker-ce, docker-ce-cli package name format: "26.0.0-1~ubuntu.20.04~focal"
apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) \
containerd.io:arm64=${containerdIoLinuxComponentVersion} \
systemd && \
systemctl disable docker && \
sed -i -e 's/\r$//' /services/run-docker.sh && \
# Docker-Compose
Expand Down
32 changes: 16 additions & 16 deletions context/generated/teamcity-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ Installed components:
- Git LFS v.2.9.2
- Git v.2.43.2
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [.NET SDK v.6.0.413 (LTS) x86 Checksum (SHA512) ee0a77d54e6d4917be7310ff0abb3bad5525bfb4beb1db0c215e65f64eb46511f5f12d6c7ff465a1d4ab38577e6a1950fde479ee94839c50e627020328a702de](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-x64.tar.gz)
- Perforce Helix Core client (p4) [2022.2-2531894](https://www.perforce.com/products/helix-core)

Expand Down Expand Up @@ -133,8 +133,8 @@ Installed components:
- Git v.2.43.2
- Git LFS v.2.9.2
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [.NET SDK v.6.0.413 (LTS) ARM64 Checksum (SHA512) 7f05a9774d79e694da5a6115d9916abf87a65e40bd6bdaa5dca1f705795436bc8e764242f7045207386a86732ef5519f60bdb516a3860e4860bca7ee91a21759](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-arm64.tar.gz)

Expand Down Expand Up @@ -173,8 +173,8 @@ Installed components:
- Git v.2.43.2
- Git LFS v.2.9.2
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [.NET SDK v.6.0.413 (LTS) ARM64 Checksum (SHA512) 7f05a9774d79e694da5a6115d9916abf87a65e40bd6bdaa5dca1f705795436bc8e764242f7045207386a86732ef5519f60bdb516a3860e4860bca7ee91a21759](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-arm64.tar.gz)

Expand Down Expand Up @@ -214,9 +214,9 @@ Installed components:
- Git LFS v.2.9.2
- Git v.2.43.2
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [.NET SDK v.6.0.413 (LTS) x86 Checksum (SHA512) ee0a77d54e6d4917be7310ff0abb3bad5525bfb4beb1db0c215e65f64eb46511f5f12d6c7ff465a1d4ab38577e6a1950fde479ee94839c50e627020328a702de](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-x64.tar.gz)
- Perforce Helix Core client (p4) [2022.2-2531894](https://www.perforce.com/products/helix-core)

Expand Down Expand Up @@ -394,9 +394,9 @@ Installed components:
- Git LFS v.2.3.4
- Git v.2.41.0
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [.NET SDK v.6.0.413 (LTS) x86 Checksum (SHA512) ee0a77d54e6d4917be7310ff0abb3bad5525bfb4beb1db0c215e65f64eb46511f5f12d6c7ff465a1d4ab38577e6a1950fde479ee94839c50e627020328a702de](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-x64.tar.gz)
- Perforce Helix Core client (p4) [2022.2-2531894](https://www.perforce.com/products/helix-core)

Expand Down Expand Up @@ -432,9 +432,9 @@ Installed components:
- Git LFS v.2.9.2
- Git v.2.43.2
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [.NET SDK v.6.0.413 (LTS) x86 Checksum (SHA512) ee0a77d54e6d4917be7310ff0abb3bad5525bfb4beb1db0c215e65f64eb46511f5f12d6c7ff465a1d4ab38577e6a1950fde479ee94839c50e627020328a702de](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-x64.tar.gz)
- Perforce Helix Core client (p4) [2022.2-2531894](https://www.perforce.com/products/helix-core)

Expand Down Expand Up @@ -470,8 +470,8 @@ Installed components:
- Git v.2.41.0
- Git LFS v.2.3.4
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [.NET SDK v.6.0.413 (LTS) ARM64 Checksum (SHA512) 7f05a9774d79e694da5a6115d9916abf87a65e40bd6bdaa5dca1f705795436bc8e764242f7045207386a86732ef5519f60bdb516a3860e4860bca7ee91a21759](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-arm64.tar.gz)

Expand Down Expand Up @@ -507,8 +507,8 @@ Installed components:
- Git v.2.43.2
- Git LFS v.2.9.2
- Mercurial
- [Docker v.5:20.10.12](https://github.com/docker/cli/releases/tag/v20.10.12)
- [Containerd.io v1.4.12-1](https://ubuntu.pkgs.org/20.04/docker-ce-stable-amd64/containerd.io_1.4.12-1_amd64.deb.html)
- [Docker v.5:24.0.9](https://docs.docker.com/engine/release-notes/24.0)
- [Containerd.io v1.6.28-2](https://github.com/containerd/containerd/releases/tag/v1.6.28)
- [Docker Compose v.1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [.NET SDK v.6.0.413 (LTS) ARM64 Checksum (SHA512) 7f05a9774d79e694da5a6115d9916abf87a65e40bd6bdaa5dca1f705795436bc8e764242f7045207386a86732ef5519f60bdb516a3860e4860bca7ee91a21759](https://dotnetcli.blob.core.windows.net/dotnet/Sdk/6.0.413/dotnet-sdk-6.0.413-linux-arm64.tar.gz)

Expand Down

0 comments on commit 35c8569

Please sign in to comment.