feat(act): add S3 CLI
All checks were successful
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest) (push) Successful in 4m41s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest) (push) Successful in 4m43s
Image builds / build_images (renovate) (push) Successful in 16s
Image builds / build_images (caddy) (push) Successful in 47s
Renovate / renovate (push) Successful in 37s
act_runtime / build_images (node:20-bookworm-slim, ubuntu-latest-amd64) (push) Successful in 7m36s
act_runtime / build_images (node:20-bullseye-slim, ubuntu-latest-amd64) (push) Successful in 20s

This commit is contained in:
Peter 2024-11-28 13:10:35 +01:00
parent 23c380da2e
commit fe161d93fb
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -11,20 +11,20 @@ RUN --mount=type=cache,target=/var/lib/apt \
--mount=type=cache,target=/var/cache/apt \ --mount=type=cache,target=/var/cache/apt \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
sudo \ sudo \
git-lfs \ git-lfs \
ca-certificates \ ca-certificates \
curl \ curl \
jq \ jq \
gnupg \ gnupg \
gcc \ gcc \
clang-${LLVM_VERSION} \ clang-${LLVM_VERSION} \
llvm-${LLVM_VERSION} \ llvm-${LLVM_VERSION} \
libbpf-dev \ libbpf-dev \
make \ make \
unzip \ unzip \
libgraphite2-3 \ libgraphite2-3 \
zstd && \ zstd && \
ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/clang /usr/bin/clang && \ ln -s /usr/lib/llvm-${LLVM_VERSION}/bin/clang /usr/bin/clang && \
ln -s -f /usr/lib/llvm-${LLVM_VERSION}/bin/llc /usr/bin/ ln -s -f /usr/lib/llvm-${LLVM_VERSION}/bin/llc /usr/bin/
@ -37,8 +37,14 @@ RUN --mount=type=cache,target=/var/lib/apt \
--mount=type=cache,target=/var/cache/apt \ --mount=type=cache,target=/var/cache/apt \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list && \ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list && \
echo \ echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list && \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
gh \ gh \
docker-ce docker-ce-cli containerd.io docker-buildx-plugin \ docker-ce docker-ce-cli containerd.io docker-buildx-plugin
# AWS CLI
RUN --mount=type=cache,target=/tmp \
curl -o "/tmp/awscliv2.zip" "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" && \
unzip /tmp/awscliv2.zip -d /tmp && \
/tmp/aws/install