Jafner.net/5etools-docker/Dockerfile
Jafner 2b57086c0f Refactor version parsing
Switch from reading and writing a version file to reading from (and testing the existence of) package.json.
Install jq to handle this parsing
2021-10-10 23:52:00 -07:00

13 lines
349 B
Docker

FROM httpd
ENV PUID=${PUID:-1000}
ENV PGID=${PGID:-1000}
COPY init.sh /init.sh
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install curl p7zip-full megatools git jq && \
chmod +x /init.sh
WORKDIR /usr/local/apache2/htdocs/
RUN mkdir download
RUN chown -R $PUID:$PGID /usr/local/apache2/htdocs
ENV IMG false
CMD ["/bin/bash","/init.sh"]