-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
25 lines (19 loc) · 826 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM alpine:latest
ENV GODOT_VERSION 3.4.5
RUN apk update
RUN apk add --no-cache bash
RUN apk add --no-cache unzip
RUN apk add --no-cache wget
RUN wget --quiet https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r0/glibc-2.35-r0.apk
RUN apk add --force-overwrite --allow-untrusted glibc-2.35-r0.apk
RUN wget --quiet https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip
RUN mkdir ~/.cache
RUN mkdir -p ~/.config/godot
RUN unzip Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip
RUN mv Godot_v${GODOT_VERSION}-stable_linux_headless.64 /usr/local/bin/godot
RUN rm -f Godot_v${GODOT_VERSION}-stable_linux_headless.64.zip
# Make directory to run the app from and then run the app
RUN mkdir /godotapp
WORKDIR /godotapp
COPY . .
CMD godot --path .