add env variables!

This commit is contained in:
Simon Ungar Felding 2024-12-11 12:27:43 +01:00
parent b874fa9b03
commit 18040d4b41
2 changed files with 17 additions and 2 deletions

View file

@ -8,7 +8,7 @@ WORKDIR /build/
COPY build.sh VERSION /build/
RUN bash build.sh
FROM debian:sid
FROM debian:sid-slim
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
# These are only exported if running as root
@ -18,9 +18,12 @@ EXPOSE 143/tcp
EXPOSE 2025/tcp
EXPOSE 2143/tcp
ENV PROTONMAIL_TelemetryDisabled=false
ENV PROTONMAIL_AutoUpdate=false
# Install dependencies and protonmail bridge
RUN apt-get update \
&& apt-get install -y --no-install-recommends procps socat pass libsecret-1-0 ca-certificates \
&& apt-get install -y --no-install-recommends procps jq socat pass libsecret-1-0 ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Copy bash scripts