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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
- dev
|
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/update-check.yaml
|
- .github/workflows/update-check.yaml
|
||||||
- update-check.py
|
- update-check.py
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
FROM debian:sid-slim AS build
|
FROM debian:sid-slim AS build
|
||||||
|
|
||||||
COPY install.sh RELEASE /
|
COPY install.sh PACKAGE /
|
||||||
RUN apt-get update && apt-get install -y wget binutils
|
RUN apt-get update && apt-get install -y wget binutils
|
||||||
|
|
||||||
# Repack deb (removes unnecessary dependencies and produces /protonmail.deb)
|
# Repack deb (removes unnecessary dependencies and produces /protonmail.deb)
|
||||||
@ -18,7 +18,7 @@ EXPOSE 143/tcp
|
|||||||
WORKDIR /protonmail
|
WORKDIR /protonmail
|
||||||
|
|
||||||
# Copy bash scripts
|
# Copy bash scripts
|
||||||
COPY gpgparams entrypoint.sh RELEASE /protonmail/
|
COPY gpgparams entrypoint.sh PACKAGE /protonmail/
|
||||||
COPY --from=build /protonmail.deb /tmp/protonmail.deb
|
COPY --from=build /protonmail.deb /tmp/protonmail.deb
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
|
|||||||
@ -3,7 +3,7 @@ set -ex
|
|||||||
|
|
||||||
# Repack deb (remove unnecessary dependencies)
|
# Repack deb (remove unnecessary dependencies)
|
||||||
mkdir deb
|
mkdir deb
|
||||||
wget -i "$RELEASE" -O /deb/protonmail.deb
|
wget -i /PACKAGE -O /deb/protonmail.deb
|
||||||
cd deb
|
cd deb
|
||||||
ar x -v protonmail.deb
|
ar x -v protonmail.deb
|
||||||
mkdir control
|
mkdir control
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user