Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
skiffer-git committed Apr 22, 2024
1 parent 2593d25 commit 584fbaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 584fbaf

Please sign in to comment.