forked from tmp64/BugfixedHL-Rebased
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.linux
42 lines (35 loc) · 977 Bytes
/
Dockerfile.linux
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
FROM bhl-build
# Install build script dependencies
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN apt-get install -y \
python3.8 \
python3.8-venv \
python3.8-distutils \
git
# Install build dependencies
RUN apt-get update
RUN apt-get install -y \
zlib1g:i386 \
zlib1g-dev:i386
WORKDIR /build/bhl
COPY . .
# Refresh Git index after .git is copied
RUN git update-index -q --refresh
ARG BHL_VER_TAG="dev"
RUN python3.8 ./scripts/BuildRelease.py \
--target client \
--build-type release \
--vs 2019 --toolset v141_xp \
--linux-compiler gcc-9 \
--out-dir ./_build_out_client \
--cmake-args="-DWARNINGS_ARE_ERRORS=ON" \
--v-tag=${BHL_VER_TAG}
RUN python3.8 ./scripts/BuildRelease.py \
--target server \
--build-type release \
--vs 2019 --toolset v141_xp \
--linux-compiler gcc-9 \
--out-dir ./_build_out_server \
--cmake-args="-DWARNINGS_ARE_ERRORS=ON" \
--v-tag=${BHL_VER_TAG}