-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.base
44 lines (35 loc) · 986 Bytes
/
Dockerfile.base
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM golang:1.14 as butler-builder
ARG GODOT_CI_BUTLER_BR
ARG GODOT_CI_BUTLER_BR_ACCESS_TOKEN
ARG GODOT_CI_BUILDING_STAGE
ARG TARGETPLATFORM
COPY Dockerfile.base Dockerfile.base
COPY butler.sh butler.sh
RUN sh butler.sh
FROM debian:12-slim
LABEL org.opencontainers.image.authors="Orville Q. Song <[email protected]>"
USER root
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
git \
git-lfs \
unzip \
zip \
wget \
curl \
locales \
&& rm -rf /var/lib/apt/lists/*
# Add unicode support
RUN sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
&& locale-gen en_US.UTF-8
ENV LANG 'en_US.UTF-8'
ENV LANGUAGE 'en_US:en'
ENV GODOT_VERSION=4.2.1
ENV GODOT_RELEASE_CHANNEL=stable
ENV DOTNET_SDK_VERSION=6.0.421
ENV BUTLER_VERSION=15.21.0
ARG TARGETPLATFORM
ENV GODOT_CI_PLATFORM=${TARGETPLATFORM}
COPY --from=butler-builder /go/butler/butler /usr/local/bin/butler
COPY add.sh /usr/local/bin/add
RUN add steamcmd