Skip to content

Commit 776973f

Browse files
committed
Upgrade local container to Ubuntu 24.04
1 parent b20a0c9 commit 776973f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

local/Dockerfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
# then copy the binary from it later in the build.
88
FROM quay.io/minio/mc:RELEASE.2023-04-12T02-21-51Z AS mc
99

10-
FROM ubuntu:22.04
10+
FROM ubuntu:24.04
1111

1212
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
13-
awscli \
1413
build-essential \
1514
curl \
1615
git \
@@ -20,7 +19,14 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
2019
openssl \
2120
pkg-config \
2221
python3 \
23-
socat
22+
socat \
23+
unzip
24+
25+
# Install the AWS CLI
26+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(arch).zip" -o "awscliv2.zip"; \
27+
unzip awscliv2.zip; \
28+
rm awscliv2.zip; \
29+
./aws/install
2430

2531
# Install rustup while removing the pre-installed stable toolchain.
2632
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \

0 commit comments

Comments
 (0)