Commit 37175c1 1 parent e9ab538 commit 37175c1 Copy full SHA for 37175c1
File tree 2 files changed +9
-5
lines changed
packaging/docker/ubuntu-22.04
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ builder_name=$(docker buildx create --use)
60
60
# shellcheck disable=SC2064 # we want the current $builder_name to be trapped, not the runtime one
61
61
trap " docker buildx rm $builder_name || true" EXIT
62
62
63
+ QEMU_VERSION=6.2.0
64
+ echo " --- Installing QEMU $QEMU_VERSION "
65
+ docker run --privileged --userns=host --rm " tonistiigi/binfmt:qemu-v$QEMU_VERSION " --uninstall qemu-*
66
+ docker run --privileged --userns=host --rm " tonistiigi/binfmt:qemu-v$QEMU_VERSION " --install all
67
+
63
68
echo " --- Building :docker: $image_tag "
64
69
cp -a packaging/linux/root/usr/share/buildkite-agent/hooks/ " ${packaging_dir} /hooks/"
65
70
cp pkg/buildkite-agent-linux-{amd64,arm64} " $packaging_dir "
Original file line number Diff line number Diff line change @@ -12,17 +12,12 @@ SHELL [ "bash", "-euc" ]
12
12
RUN <<BASH
13
13
export DEBIAN_FRONTEND=noninteractive
14
14
15
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
16
- add-apt-repository "deb [arch=$TARGETARCH] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
17
-
18
15
apt-get update
19
16
apt-get install -y --no-install-recommends \
20
17
apt-transport-https \
21
18
bash \
22
19
ca-certificates \
23
20
curl \
24
- docker-ce-cli \
25
- docker-compose-plugin \
26
21
git \
27
22
gnupg-agent \
28
23
jq \
@@ -34,6 +29,10 @@ apt-get install -y --no-install-recommends \
34
29
software-properties-common \
35
30
tini
36
31
32
+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
33
+ add-apt-repository "deb [arch=$TARGETARCH] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
34
+ apt-get update
35
+ apt-get install -y --no-install-recommends docker-ce-cli docker-compose-plugin
37
36
rm -rf /var/lib/apt/lists/*
38
37
39
38
pip3 install docker-compose==$DOCKER_COMPOSE_VERSION
You can’t perform that action at this time.
0 commit comments