This commit is contained in:
parent
cdcca4cff6
commit
545ba48f4a
1 changed files with 2 additions and 10 deletions
|
@ -1,14 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM golang:1.23.0 AS builder
|
FROM golang:1.23.0
|
||||||
|
|
||||||
RUN git clone https://github.com/magefile/mage \
|
RUN go install github.com/magefile/mage@v1.15.0
|
||||||
&& cd mage \
|
|
||||||
&& git checkout v1.15.0 \
|
|
||||||
&& go run bootstrap.go
|
|
||||||
|
|
||||||
|
|
||||||
FROM golang:1.23.0-alpine
|
|
||||||
|
|
||||||
COPY --from=builder /go/bin/mage /go/bin/mage
|
|
||||||
|
|
||||||
ENTRYPOINT ["mage"]
|
ENTRYPOINT ["mage"]
|
||||||
|
|
Loading…
Reference in a new issue