Skip to content

Commit d2f18d2

Browse files
committed
missplaced build_from on atlas addon
1 parent 3bc0193 commit d2f18d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

atlas/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BUILDARCH
1+
ARG BUILD_FROM
22
# Stage 1: Build Go binary and clone repo
33
FROM golang:1.22 AS builder
44

@@ -12,8 +12,7 @@ RUN go mod init atlas || true
1212
RUN go build -o /atlas .
1313

1414
# Stage 2: Runtime
15-
ARG BUILD_FROM
16-
FROM $BUILD_FROM
15+
FROM ${BUILD_FROM}
1716

1817
RUN apk add --no-cache \
1918
nginx iputils-ping traceroute nmap sqlite net-tools curl jq ca-certificates git py3-pip && \

0 commit comments

Comments
 (0)