forked from multitheftauto/mtasa-blue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (24 loc) · 992 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
26
27
28
29
30
31
32
FROM jetbrains/teamcity-minimal-agent:latest
# Set to 1 to configure this image as Teamcity build agent
# Default value is 0 (manual build)
ENV AS_BUILDAGENT 0
# Set default target platform to 64-bits
ENV BUILD_BITS 64
# Install dependencies to install the latest gcc
RUN apt-get update && \
apt-get install -y software-properties-common wget && \
add-apt-repository ppa:ubuntu-toolchain-r/test
# Install latest gcc and libs
RUN dpkg --add-architecture i386 && apt-get update && \
apt-get install -y ca-certificates git build-essential gcc-multilib g++-multilib gcc-6-multilib g++-6-multilib curl subversion ncftp \
libncursesw5-dev libmysqlclient-dev \
lib32ncursesw5-dev libncursesw5-dev:i386
# Set build directory
VOLUME /build
WORKDIR /build
# Copy entrypoint script
COPY utils/docker-entrypoint.sh /docker-entrypoint.sh
# Add GLIB compat
COPY utils/compat /compat
# Set entrypoint
ENTRYPOINT bash /docker-entrypoint.sh