fixes
This commit is contained in:
parent
c7cef79482
commit
a0e993c0cc
4 changed files with 23 additions and 22 deletions
|
|
@ -1,29 +1,28 @@
|
|||
# Use carlosedp/golang for riscv64 support
|
||||
FROM carlosedp/golang:1.18 AS build
|
||||
FROM golang:1.23 AS build
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && apt-get install -y git build-essential libsecret-1-dev
|
||||
# Install build dependencies
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends git build-essential libsecret-1-dev
|
||||
|
||||
# Build
|
||||
WORKDIR /build/
|
||||
COPY build.sh VERSION /build/
|
||||
RUN bash build.sh
|
||||
|
||||
FROM ubuntu:jammy
|
||||
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
|
||||
FROM debian:bookworm
|
||||
LABEL maintainer="Ryan Deushane <radeushane@gmail.com>"
|
||||
|
||||
EXPOSE 25/tcp
|
||||
EXPOSE 143/tcp
|
||||
EXPOSE 25/tcp 143/tcp
|
||||
|
||||
# Install dependencies and protonmail bridge
|
||||
# Install dependencies
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates \
|
||||
&& apt-get install -y --no-install-recommends socat pass procps libsecret-1-0 ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy bash scripts
|
||||
COPY gpgparams entrypoint.sh /protonmail/
|
||||
|
||||
# Copy protonmail
|
||||
# Install protonmail
|
||||
COPY --from=build /build/proton-bridge/bridge /protonmail/
|
||||
COPY --from=build /build/proton-bridge/proton-bridge /protonmail/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue