mirror of
https://github.com/yeslayla/godot-build-tools.git
synced 2025-07-27 08:35:38 +02:00
Logging & Godot Downloader
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
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"]
|
Reference in New Issue
Block a user