mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
fix install.sh
This commit is contained in:
parent
c19d769962
commit
16f039bf33
3
.github/workflows/update-check.yaml
vendored
3
.github/workflows/update-check.yaml
vendored
@ -2,9 +2,6 @@ name: update check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
paths:
|
||||
- .github/workflows/update-check.yaml
|
||||
- update-check.py
|
||||
|
||||
@ -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…
Reference in New Issue
Block a user