We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc0193 commit d2f18d2Copy full SHA for d2f18d2
atlas/Dockerfile
@@ -1,4 +1,4 @@
1
-ARG BUILDARCH
+ARG BUILD_FROM
2
# Stage 1: Build Go binary and clone repo
3
FROM golang:1.22 AS builder
4
@@ -12,8 +12,7 @@ RUN go mod init atlas || true
12
RUN go build -o /atlas .
13
14
# Stage 2: Runtime
15
-ARG BUILD_FROM
16
-FROM $BUILD_FROM
+FROM ${BUILD_FROM}
17
18
RUN apk add --no-cache \
19
nginx iputils-ping traceroute nmap sqlite net-tools curl jq ca-certificates git py3-pip && \
0 commit comments