Skip to content

Commit

Permalink
chore: update static-website action to ubuntu 24
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni committed Oct 1, 2024
1 parent 645eba6 commit 10001fc
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions github-actions/static-websites/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
FROM ubuntu:bionic
FROM ubuntu:24.04

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git awscli
RUN set -eux; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
curl \
unzip \
; \
# Download correct binary for the architecture
if [ "$(arch)" = "aarch64" ]; then \
curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"; \
else \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"; \
fi; \
unzip awscliv2.zip; \
./aws/install

COPY entrypoint.sh /entrypoint.sh

Expand Down

0 comments on commit 10001fc

Please sign in to comment.