Files
fithwum 6cab93a1da
Build and Push foundryvtt Docker Image / build (push) Successful in 30s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 7s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 12s
add curl to docker
2026-08-05 14:38:07 -07:00

32 lines
846 B
Docker

FROM alpine:latest
LABEL maintainer="fithwum"
ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/foundryvtt/raw/branch/master/alpine/Install_Script.sh
ENV PUID=99
ENV GUID=100
ENV GAME_PORT=30000
ENV FOUNDRYVTT_VERSION=""
# USER foundry
RUN adduser -D -u 99 -G users -h /foundry -s /bin/bash foundry
# Install dependencies and folder creation
RUN apk update && apk add --no-cache ca-certificates libstdc++ su-exec bash-completion tar nodejs npm curl \
&& mkdir -p /foundry /ftemp \
&& chmod 777 -R /foundry \
&& chown 99:100 -R /foundry
RUN wget --no-cache "${INSTALL_SCRIPT}" -O /ftemp/Install_Script.sh \
&& chmod +x /ftemp/Install_Script.sh \
&& chown 99:100 -R /ftemp/Install_Script.sh
# directory where data is stored
VOLUME /foundry
# TCP Port
EXPOSE ${GAME_PORT}
# Run command
CMD [ "/bin/sh", "/ftemp/Install_Script.sh" ]