Switch to alpine
All checks were successful
Build App / Build-App (push) Successful in 1m19s

This commit is contained in:
2025-02-14 11:29:06 +01:00
parent 52b639a1a8
commit baa8765ab5
3 changed files with 22 additions and 30 deletions

View File

@@ -1,8 +1,6 @@
FROM node:lts-bookworm
FROM node:lts-alpine
RUN apt-get update && \
apt-get install -y ca-certificates curl podman && \
install -m 0755 -d /etc/apt/keyrings && \
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl" && \
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s - /usr/local/bin
RUN apk add --no-cache ca-certificates curl podman kubectl kustomize git bash openssl && \
echo 'rc_cgroup_mode="unified"' >> /etc/rc.conf
VOLUME /var/lib/containers