ActionKit/Containerfile

16 lines
841 B
Plaintext
Raw Normal View History

2024-03-04 18:49:03 +01:00
FROM node:bookworm
2024-03-04 18:26:50 +01:00
RUN apt-get update && \
2024-03-04 18:55:33 +01:00
apt-get install -y ca-certificates curl && \
2024-03-04 18:26:50 +01:00
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
chmod a+r /etc/apt/keyrings/docker.asc && \
echo \
2024-03-04 18:55:33 +01:00
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
2024-03-04 18:26:50 +01:00
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
2024-03-04 18:55:33 +01:00
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.33.2/pack-v0.33.2-linux.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack) && \
2024-03-04 18:26:50 +01:00
apt-get update && \
2024-03-04 18:55:33 +01:00
apt-get install -y docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin git
2024-03-04 18:26:50 +01:00