2021-02-20 20:47:59 +00:00
|
|
|
FROM debian:stretch-slim
|
|
|
|
|
2022-09-09 20:34:56 +00:00
|
|
|
ENV AGATE_VER 3.2.3
|
2021-02-20 20:47:59 +00:00
|
|
|
|
|
|
|
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"]
|