Try newer build strategy

This commit is contained in:
2024-02-27 16:28:38 +01:00
parent 88edadf5eb
commit 0f4a57694b
7 changed files with 19 additions and 72 deletions

View File

@ -1,6 +1,6 @@
FROM ghcr.io/allanger/dumb-downloader as dudo
ENV OPENVPN_VERSION=2.6.9
ENV TUNNELBLICK_VERSION=4.0.0beta15
ARG OPENVPN_VERSION
ARG TUNNELBLICK_VERSION
RUN apt update && apt install gnupg tar -y
RUN mkdir /output
# ------------------------------------------------------
@ -27,8 +27,8 @@ FROM ubuntu as builder
# ------------------------------------------------------
# -- TODO: Define it only once
# ------------------------------------------------------
ENV OPENVPN_VERSION=2.6.9
ENV TUNNELBLICK_VERSION=v4.0.0beta15
ARG OPENVPN_VERSION
ARG TUNNELBLICK_VERSION
COPY --from=dudo /output /src
RUN apt-get update &&\
apt-get install -y wget tar unzip build-essential \