forked from multitheftauto/mtasa-blue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.i386
32 lines (25 loc) · 891 Bytes
/
Dockerfile.i386
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
FROM jetbrains/teamcity-minimal-agent:latest
# This is important for using apt-get
USER root
# Default build configuration
ENV AS_BUILDAGENT=0 \
BUILD_ARCHITECTURE=x86 \
BUILD_CONFIG=release \
AR=x86_64-linux-gnu-gcc-ar-10 \
CC=x86_64-linux-gnu-gcc-10 \
CXX=x86_64-linux-gnu-g++-10
# Install build-time dependencies
RUN dpkg --add-architecture i386 && apt-get update && \
apt-get install -y software-properties-common wget ca-certificates git build-essential \
gcc-10-multilib g++-10-multilib curl subversion ncftp \
libncurses-dev:i386 libncursesw5:i386 libmysqlclient-dev:i386
# Set build directory
VOLUME /build
WORKDIR /build
# Copy entrypoint script
COPY utils/docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
# Add GLIB compat
COPY utils/compat /compat
# Set entrypoint
ENTRYPOINT bash /docker-entrypoint.sh