|
@@ -1,7 +1,6 @@
|
|
# Use the official Golang image as the base image
|
|
# Use the official Golang image as the base image
|
|
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
|
|
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
|
|
ARG TARGETOS TARGETARCH
|
|
ARG TARGETOS TARGETARCH
|
|
-RUN echo "TARGETOS=$TARGETOS TARGETARCH=$TARGETARCH"
|
|
|
|
# Set up the working directory
|
|
# Set up the working directory
|
|
WORKDIR /app
|
|
WORKDIR /app
|
|
|
|
|