initial commit
This commit is contained in:
24
base.Containerfile
Normal file
24
base.Containerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk update && apk add --no-cache \
|
||||
git openssh helix bash bash-completion go curl \
|
||||
helix-tree-sitter-vendor
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user