change base image from ubuntu to alpine
Build and Push Docker Container / build-and-push (push) Successful in 5m55s

This commit is contained in:
GitHub Actions
2026-03-11 07:45:48 +01:00
parent c6744bbfaf
commit 482c31cca3
2 changed files with 10 additions and 8 deletions
+6 -7
View File
@@ -17,8 +17,7 @@ RUN sed -i 's/127.0.0.1/0.0.0.0/g' internal/constants/constants.go
RUN set -eux; \
make build-nogui vault-editor
FROM ubuntu:latest
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
FROM alpine:latest
EXPOSE 1025/tcp
EXPOSE 1143/tcp
@@ -26,11 +25,11 @@ EXPOSE 1143/tcp
RUN mkdir -p /root/.gnupg && chmod 700 /root/.gnupg
# Install dependencies and protonmail bridge
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
pass libsecret-1-0 ca-certificates libfido2-1 \
dbus dbus-x11 gnupg2 \
&& rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache \
gcompat \
libsecret \
libfido2 \
gnupg pass ca-certificates
# Copy bash scripts
COPY gpgparams entrypoint.sh /protonmail/