2025-04-29 23:11:17 +12:00

20 lines
433 B
Docker

FROM alpine:latest
RUN apk add --no-cache \
bash \
nano \
libstdc++ \
libgcc
WORKDIR /app
COPY docker/dropshell_alpine/output/dropshell /app/dropshell
RUN /bin/bash -c "mkdir -p /opt/dropshell/templates && mkdir -p /config"
COPY templates /opt/dropshell/templates
COPY src/dropshell-completion.bash /etc/bash_completion.d/
RUN /app/dropshell init /config
RUN /app/dropshell version
ENTRYPOINT ["/app/dropshell"]