protonmail-bridge-nextcoud-.../deb/Dockerfile

32 lines
782 B
Docker
Raw Normal View History

2024-09-09 21:45:48 +00:00
FROM --platform=${BUILDPLATFORM} ubuntu:noble
2020-04-15 00:59:21 +00:00
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
EXPOSE 25/tcp
EXPOSE 143/tcp
2024-09-09 21:45:17 +00:00
RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
--mount=target=/var/cache/apt,type=cache,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean \
&& apt-get update \
2024-09-09 21:45:48 +00:00
&& apt-get upgrade -y \
2024-09-09 21:45:17 +00:00
&& apt-get -y --no-install-recommends install \
2024-09-09 21:45:48 +00:00
libc6 \
socat \
pass \
ca-certificates \
wget \
binutils \
xz-utils \
libsecret-1-0 \
libgl1
2024-09-09 21:45:17 +00:00
2020-06-01 04:16:31 +00:00
WORKDIR /protonmail
2020-04-15 07:17:01 +00:00
# Copy bash scripts
2020-06-01 04:16:31 +00:00
COPY gpgparams install.sh entrypoint.sh VERSION /protonmail/
2020-04-15 00:59:21 +00:00
# Install dependencies and protonmail bridge
2020-06-01 04:16:31 +00:00
RUN bash install.sh
2020-04-15 00:59:21 +00:00
2020-04-15 05:31:20 +00:00
ENTRYPOINT ["bash", "/protonmail/entrypoint.sh"]