gemini-agate-image/Dockerfile

24 lines
659 B
Docker

FROM debian:stretch-slim
ENV AGATE_VER 3.2.3
ENV GEMINI_DOMAIN example.com
ENV GEMINI_GIT_REPO https://gitlab.com/valvin/gemini-agate-image
ENV GEMINI_GIT_PATH /app/data
ENV GEMINI_CONTENT_FOLDER content
ENV GEMINI_CERT_PATH /certs
ENV GEMINI_LANG fr-FR
RUN apt update && apt install -y openssl git wget \
&& apt clean && rm -rf /var/lib/apt/lists/*
RUN mkdir /app
RUN wget https://github.com/mbrubeck/agate/releases/download/v${AGATE_VER}/agate.x86_64-unknown-linux-gnu.gz -O /app/agate.gz \
&& cd /app && gunzip agate.gz && chmod +x agate
COPY entrypoint.sh /app/entrypoint.sh
EXPOSE 1965/tcp
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["run"]