forked from nwnxee/unified
-
Notifications
You must be signed in to change notification settings - Fork 0
/
builder.Dockerfile
38 lines (36 loc) · 990 Bytes
/
builder.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
33
34
35
36
37
38
# This image serves as the factory for compiling the sources, and must be updated whenever the
# build dependencies change. This docker image created is pushed to Dockerhub and GHCR and is the base
# image when users build their own docker images for NWNX:EE.
FROM debian:buster-slim
RUN buildDeps="build-essential \
git \
ssh-client \
zip \
cmake \
gperf \
gcc-7 \
g++-7 \
default-libmysqlclient-dev \
libpq-dev \
libseccomp-dev \
ruby-dev \
libssl-dev \
libhunspell-dev \
pkg-config \
libluajit-5.1-dev \
libpcre3 \
libpcre3-dev \
autoconf \
automake \
bison \
ccache" \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& apt-get clean \
&& rm -r /var/lib/apt/lists /var/cache/apt \
&& git clone --branch v4.0.2 --depth 1 https://github.com/swig/swig.git \
&& cd swig \
&& ./autogen.sh \
&& ./configure \
&& make \
&& make install