server/.devcontainer/Dockerfile

10 lines
363 B
Docker
Raw Normal View History

# Bun doesn't run well on Musl but this seems to work
2024-05-22 03:41:48 +02:00
FROM oven/bun:1.1.9-alpine as base
RUN apk add --no-cache libstdc++ git bash curl openssh cloc
# Switch to Bash by editing /etc/passwd
RUN sed -i -e 's|/bin/ash|/bin/bash|g' /etc/passwd
# Extract Node from its docker image (node:22-alpine)
COPY --from=node:22-alpine /usr/local/bin/node /usr/local/bin/node