| # debian.sh --arch 'amd64' out/ 'trixie' '@1779062400' |
| LABEL maintainer=SR2 Communications <contact@sr2.uk> |
| EXPOSE [25/tcp] |
| EXPOSE [143/tcp] |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends socat pass libsecret-1-0 libfido2-1 libcbor0.10 ca-certificates adduser && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c addgroup --gid 19994 protonmail && adduser --uid 19994 --gid 19994 --shell /bin/bash --home /data protonmail # buildkit |
| COPY --chown=19994:19994 gpgparams entrypoint.sh /protonmail/ # buildkit |
| COPY --chown=19994:19994 /build/bridge /protonmail/ # buildkit |
| COPY --chown=19994:19994 /build/proton-bridge /protonmail/ # buildkit |
| COPY --chown=19994:19994 /build/vault-editor /protonmail/ # buildkit |
| WORKDIR /protonmail |
| USER 19994 |
| ENTRYPOINT ["bash" "/protonmail/entrypoint.sh"] |