Add bun image
All checks were successful
Build and Push Image / Build and push image (push) Successful in 30s

This commit is contained in:
Jan K9f 2024-07-16 15:25:57 +02:00
parent 21fd917f2d
commit b5c04ad521
No known key found for this signature in database
GPG key ID: 4475057A278E331B
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,21 @@
FROM oven/bun:alpine
RUN apk add nodejs git curl bash sudo
RUN apk add --update --no-cache \
bash sudo ca-certificates openssl openssh-client \
git git-lfs wget curl \
zip unzip xz zstd jq \
nodejs
RUN adduser -D runner \
&& echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner \
&& chmod 0440 /etc/sudoers.d/runner
RUN chmod -R 777 /opt
WORKDIR /home/runner
CMD ["/bin/bash"]
USER runner