dockerfile fix

This commit is contained in:
Paramtamtam 2022-06-10 11:06:09 +04:00
parent f82ce4fac2
commit 1ae0ac52cf
No known key found for this signature in database
GPG Key ID: 366371698FAD0A2B
2 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
"^Dockerfile$"
],
"matchStrings": [
"ARG 3PROXY_VERSION=(?<currentValue>.*?)\n"
"ARG Z3PROXY_VERSION=(?<currentValue>.*?)\n"
],
"depNameTemplate": "github.com/z3APA3A/3proxy",
"datasourceTemplate": "git-tags"

View File

@ -1,12 +1,12 @@
# Image page: <https://hub.docker.com/_/gcc>
FROM gcc:12.1.0 as builder
# e.g.: `docker build --build-arg "3PROXY_VERSION=0.9.4" .`
ARG 3PROXY_VERSION=0.9.3
# e.g.: `docker build --build-arg "Z3PROXY_VERSION=0.9.4" .`
ARG Z3PROXY_VERSION=0.9.3
# Fetch 3proxy sources
RUN set -x \
&& git clone --branch "${3PROXY_VERSION}" https://github.com/z3APA3A/3proxy.git /tmp/3proxy
&& git clone --branch "${Z3PROXY_VERSION}" https://github.com/z3APA3A/3proxy.git /tmp/3proxy
WORKDIR /tmp/3proxy