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 ff33c52
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions github-actions/static-websites/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
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 \
python3 \
python3-pip \
; \
# 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 ff33c52

Please sign in to comment.