fix install.sh

This commit is contained in:
Simon Ungar Felding 2025-02-17 18:32:55 +01:00
parent c19d769962
commit 16f039bf33
3 changed files with 3 additions and 6 deletions

View file

@ -3,7 +3,7 @@
FROM debian:sid-slim AS build
COPY install.sh RELEASE /
COPY install.sh PACKAGE /
RUN apt-get update && apt-get install -y wget binutils
# Repack deb (removes unnecessary dependencies and produces /protonmail.deb)
@ -18,7 +18,7 @@ EXPOSE 143/tcp
WORKDIR /protonmail
# Copy bash scripts
COPY gpgparams entrypoint.sh RELEASE /protonmail/
COPY gpgparams entrypoint.sh PACKAGE /protonmail/
COPY --from=build /protonmail.deb /tmp/protonmail.deb
RUN apt-get update \

View file

@ -3,7 +3,7 @@ set -ex
# Repack deb (remove unnecessary dependencies)
mkdir deb
wget -i "$RELEASE" -O /deb/protonmail.deb
wget -i /PACKAGE -O /deb/protonmail.deb
cd deb
ar x -v protonmail.deb
mkdir control