fix install.sh
This commit is contained in:
parent
c19d769962
commit
16f039bf33
3 changed files with 3 additions and 6 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue