Add GitHub Actions
This commit is contained in:
parent
566735cf74
commit
f8e83cf877
9 changed files with 96 additions and 47 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue