test PROTONMAIL_KEYCHAIN variable
Build and Push Docker Container / build-and-push (push) Successful in 5m26s

This commit is contained in:
GitHub Actions
2026-03-11 10:12:36 +01:00
parent 2ca2b80ff4
commit e6385d037e
2 changed files with 10 additions and 33 deletions
+6 -15
View File
@@ -18,28 +18,19 @@ FROM alpine:latest
EXPOSE 1025/tcp
EXPOSE 1143/tcp
RUN mkdir -p /root/.gnupg && chmod 700 /root/.gnupg
# Install dependencies and protonmail bridge
RUN apk add --no-cache \
gcompat \
libsecret \
libfido2 \
gnupg \
pass \
ca-certificates \
dbus \
dbus-x11 \
gnome-keyring \
haveged
ca-certificates
# Copy bash scripts
COPY gpgparams entrypoint.sh /protonmail/
WORKDIR /protonmail/
ENV PROTONMAIL_KEYCHAIN=file
# Copy protonmail
COPY --from=build /build/proton-bridge/bridge /usr/bin/
COPY --from=build /build/proton-bridge/proton-bridge /usr/bin/
COPY --from=build /build/proton-bridge/vault-editor /usr/bin/
ENTRYPOINT ["bash", "/protonmail/entrypoint.sh"]
COPY entrypoint.sh /protonmail/
WORKDIR /protonmail/
ENTRYPOINT ["sh", "/protonmail/entrypoint.sh"]