forked from mirrors/protonmail-bridge-docker
Download install tini
This commit is contained in:
@@ -11,7 +11,7 @@ COPY build.sh /build/
|
||||
COPY http_rest_frontend /build/http_rest_frontend
|
||||
RUN bash build.sh
|
||||
|
||||
FROM krallin/ubuntu-tini:bionic
|
||||
FROM ubuntu:bionic
|
||||
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
|
||||
|
||||
EXPOSE 25/tcp
|
||||
@@ -23,6 +23,8 @@ HEALTHCHECK --timeout=2s CMD nc -z 127.0.0.1 1025 && nc -z 127.0.0.1 1143
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates curl gosu netcat \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN curl -sSL https://github.com/krallin/tini/releases/download/v0.19.0/tini-$(dpkg --print-architecture) -o /tini \
|
||||
&& chmod +x /tini
|
||||
|
||||
# Copy bash scripts
|
||||
COPY gpgparams entrypoint.sh run_protonmail_bridge.sh cli.sh /protonmail/bin/
|
||||
@@ -32,4 +34,4 @@ ENV PATH "/protonmail/bin:${PATH}"
|
||||
|
||||
VOLUME [ "/protonmail/data" ]
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/tini", "--", "/protonmail/bin/entrypoint.sh"]
|
||||
ENTRYPOINT ["/tini", "--", "/protonmail/bin/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user