Skip to content

Commit

Permalink
Switch back to Ubuntu 20.04-based Docker images in the cloud
Browse files Browse the repository at this point in the history
According to the support matrix, ECE versions up to 3.6 are marked as
compatible with Docker 19.03 and the Wolfi images require Docker
version of 20.10.10.

Also, we need Ubuntu version 20.04 for glibc compatibility.
  • Loading branch information
rdner committed Dec 19, 2024
1 parent 3d3c557 commit bdfac6d
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ shared:
- &docker_ubuntu_spec
docker_variant: 'basic'
extra_vars:
from: '--platform=linux/amd64 ubuntu:24.04'
from: '--platform=linux/amd64 ubuntu:20.04'
- &docker_ubuntu_arm_spec
docker_variant: 'basic'
extra_vars:
from: '--platform=linux/arm64 ubuntu:24.04'
from: '--platform=linux/arm64 ubuntu:20.04'

- &docker_ubi_spec
docker_variant: 'ubi'
Expand Down Expand Up @@ -986,15 +986,17 @@ specs:
files:
'{{.BeatName}}{{.BinaryExt}}':
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
#### ubi-based ####

#### Cloud specific docker images ####
- os: linux
arch: amd64
types: [docker]
spec:
<<: *docker_ubi_spec
<<: *docker_builder_spec
<<: *agent_docker_spec
<<: *docker_elastic_spec
# The cloud image is always based on Ubuntu
<<: *docker_ubuntu_spec
<<: *docker_builder_spec
<<: *agent_docker_cloud_spec
<<: *elastic_license_for_binaries
files:
'{{.BeatName}}{{.BinaryExt}}':
Expand All @@ -1003,25 +1005,25 @@ specs:
arch: arm64
types: [docker]
spec:
<<: *docker_ubi_arm_spec
<<: *docker_builder_arm_spec
<<: *agent_docker_spec
<<: *docker_elastic_spec
# The cloud image is always based on Ubuntu
<<: *docker_ubuntu_arm_spec
<<: *docker_builder_arm_spec
<<: *agent_docker_cloud_spec
<<: *elastic_license_for_binaries
files:
'{{.BeatName}}{{.BinaryExt}}':
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
#### wolfi-based ####
#### Cloud specific docker images ####

#### ubi-based ####
- os: linux
arch: amd64
types: [docker]
spec:
<<: *agent_docker_spec
# The cloud image is always based on Wolfi
<<: *docker_wolfi_spec
<<: *docker_ubi_spec
<<: *docker_builder_spec
<<: *agent_docker_cloud_spec
<<: *agent_docker_spec
<<: *docker_elastic_spec
<<: *elastic_license_for_binaries
files:
'{{.BeatName}}{{.BinaryExt}}':
Expand All @@ -1030,15 +1032,16 @@ specs:
arch: arm64
types: [docker]
spec:
<<: *agent_docker_spec
# The cloud image is always based on Wolfi
<<: *docker_wolfi_arm_spec
<<: *docker_ubi_arm_spec
<<: *docker_builder_arm_spec
<<: *agent_docker_cloud_spec
<<: *agent_docker_spec
<<: *docker_elastic_spec
<<: *elastic_license_for_binaries
files:
'{{.BeatName}}{{.BinaryExt}}':
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}

#### wolfi-based ####
#### Service specific docker images ####
- os: linux
arch: amd64
Expand Down

0 comments on commit bdfac6d

Please sign in to comment.