2024-05-05 04:30:10 +02:00
|
|
|
# Bun doesn't run well on Musl but this seems to work
|
2024-09-23 10:02:30 +02:00
|
|
|
FROM oven/bun:1.1.29-alpine as base
|
2024-05-05 04:30:10 +02:00
|
|
|
|
|
|
|
|
# Switch to Bash by editing /etc/passwd
|
2024-10-04 15:28:36 +02:00
|
|
|
RUN apk add --no-cache libstdc++=^13.0.0 git=^2.0.0 bash^5.0.0 curl^8.0.0 openssh^9.7.0 cloc^2.0.0 && \
|
2024-10-03 13:43:19 +02:00
|
|
|
sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd
|
2024-05-05 04:30:10 +02:00
|
|
|
|
|
|
|
|
# Extract Node from its docker image (node:22-alpine)
|
|
|
|
|
COPY --from=node:22-alpine /usr/local/bin/node /usr/local/bin/node
|