Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritspooya <fallenangel201190@yahoo.com>2023-05-08 01:31:59 +0300
committerHo3ein <ho3ein.sanaei@gmail.com>2023-05-08 09:34:47 +0300
commit20a55c086e6982401b1de74c75aa126c9f5bc048 (patch)
tree1cec1b7443b884a2feea07e6029bb981c76b61db /Dockerfile
parentc727b817723fae11daf7b5f10791a3501b0dcddb (diff)
👷 Added Docker CI
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index db57b16c..9dd30715 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,8 @@
ARG TARGETARCH
ARG TARGETOS
FROM golang:1.20 as builder
-
+ARG TARGETARCH
+ARG TARGETOS
# Set up the working directory
WORKDIR /app
@@ -20,7 +21,7 @@ RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o xui-release-
FROM ubuntu:20.04
ARG TARGETARCH
-
+ARG TARGETOS
# Set up the working directory
WORKDIR /app