add (backwards compatible) support for running rootless
This commit is contained in:
parent
b3c8d67f74
commit
db779f4e52
2 changed files with 11 additions and 2 deletions
|
|
@ -11,9 +11,13 @@ RUN bash build.sh
|
|||
FROM debian:sid-slim
|
||||
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
|
||||
|
||||
# These are only exported if running as root
|
||||
EXPOSE 25/tcp
|
||||
EXPOSE 143/tcp
|
||||
|
||||
EXPOSE 1025/tcp
|
||||
EXPOSE 1143/tcp
|
||||
|
||||
# Install dependencies and protonmail bridge
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue