pull/2202/head
skiffer-git 1 year ago
parent 2593d255c8
commit 584fbafc3a

@ -10,10 +10,9 @@ ENV GOPROXY=https://goproxy.cn,direct
# Copy all files from the current directory into the container
COPY . .
# Execute the script and build command, including downloading mage
RUN chmod +x ./bootstrap.sh && \
./bootstrap.sh && \
mage build
RUN go install github.com/magefile/mage@latest
RUN mage -v && mage build
# Use Alpine Linux as the final base image due to its small size and included utilities
FROM alpine:latest

Loading…
Cancel
Save