mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
tested locally, works fine. debian has supported riscv64 in the sid image for some time. this is the same thing the carlosedp/golang image did. this also fixes the bug with the wrong glibc version, as the build container now uses the same glibc version as the final container.
16 lines
314 B
Docker
16 lines
314 B
Docker
FROM debian:sid-slim
|
|
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
|
|
|
|
EXPOSE 25/tcp
|
|
EXPOSE 143/tcp
|
|
|
|
WORKDIR /protonmail
|
|
|
|
# Copy bash scripts
|
|
COPY gpgparams install.sh entrypoint.sh VERSION /protonmail/
|
|
|
|
# Install dependencies and protonmail bridge
|
|
RUN bash install.sh
|
|
|
|
ENTRYPOINT ["bash", "/protonmail/entrypoint.sh"]
|