Files
alpine-devcontainers/base.Containerfile
maurice 6086df0a7a
Some checks failed
Build base containers / fedora-build (push) Failing after 12s
Test containers
2025-10-27 10:02:45 +01:00

24 lines
546 B
Docker

FROM alpine:latest
RUN apk update && apk add --no-cache \
git openssh helix bash bash-completion go curl \
helix-tree-sitter-vendor podman-compose
# tree-sitter-yaml, tree-sitter-caddy
RUN adduser -D -u 1000 -s /bin/bash user
# Compile host-spawn
COPY scripts/build-host-spawn.sh .
RUN chmod +x build-host-spawn.sh
RUN ./build-host-spawn.sh
# Allow Podman host access
RUN ln -s /usr/local/bin/spawn /usr/local/bin/podman
# Config files
COPY config/ /home/user/
RUN chown -R user:user /home/user
WORKDIR /home/user
VOLUME /home/user