mirror of
https://github.com/yeslayla/godot-build-tools.git
synced 2025-01-13 12:33:43 +01:00
14 lines
492 B
Docker
14 lines
492 B
Docker
FROM golang:1-alpine3.18 AS builder
|
|
|
|
RUN go build main.go -o /usr/local/bin/godot-build-tool
|
|
|
|
FROM alpine:3.18
|
|
RUN apk add --no-cache unzip
|
|
|
|
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
|
|
&& wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk \
|
|
&& apk add glibc-2.35-r1.apk
|
|
|
|
WORKDIR /opt
|
|
COPY --from=builder /usr/local/bin/godot-build-tool /opt/godot-build-tool
|
|
CMD ["/opt/godot-build-tool"] |