mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-01-18 06:34:41 +01:00
Add GitHub Actions
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,18 +1,11 @@
|
||||
FROM debian:buster-slim AS setup
|
||||
|
||||
COPY setup.sh /bin/
|
||||
RUN bash /bin/setup.sh
|
||||
|
||||
|
||||
FROM debian:buster-slim
|
||||
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
|
||||
|
||||
EXPOSE 25/tcp
|
||||
EXPOSE 143/tcp
|
||||
|
||||
# Copy gpg parameters and .deb installer
|
||||
COPY gpgparams install.sh entrypoint.sh /protonmail/
|
||||
COPY --from=setup /protonmail/protonmail.deb /protonmail/
|
||||
# Copy bash scripts
|
||||
COPY gpgparams install.sh entrypoint.sh releaserc /protonmail/
|
||||
|
||||
# Install dependencies and protonmail bridge
|
||||
RUN bash /protonmail/install.sh
|
||||
|
||||
Reference in New Issue
Block a user