-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (25 loc) · 1.18 KB
/
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
FROM dockcross/windows-x86
MAINTAINER Alexander Wellbrock <[email protected]>
ENV BWAPI_VERSION=4.1.2
ENV BWTA_VERSION=2.2
# Include the VS 2013 pre-build version of bwapi 412
# These are the contents of the official installer
ENV BWAPI_DIR /tmp/bwapi
RUN curl -L https://github.com/lionax/bwapi/releases/download/v4.1.2/BWAPI-4.1.2.zip -o /tmp/bwapi.zip \
&& unzip /tmp/bwapi.zip -d $BWAPI_DIR \
&& rm /tmp/bwapi.zip \
&& mv $BWAPI_DIR/BWAPI/* $BWAPI_DIR \
&& rm -R $BWAPI_DIR/BWAPI \
&& chmod 755 -R $BWAPI_DIR \
&& echo "export BWAPI_DIR=$BWAPI_DIR" >> /root/.bashrc
ENV RAPIDJSON_DIR /tmp/rapidjson
RUN curl -L https://github.com/miloyip/rapidjson/archive/v1.1.0.tar.gz -o /tmp/rapidjson.tar.gz \
&& mkdir /tmp/rapidjson \
&& tar -xf /tmp/rapidjson.tar.gz -C /tmp/rapidjson \
&& rm /tmp/rapidjson.tar.gz \
&& mv /tmp/rapidjson/rapidjson-1.1.0/* /tmp/rapidjson \
&& rm -R /tmp/rapidjson/rapidjson-1.1.0 \
&& chmod 755 -R /tmp/rapidjson \
&& echo "export RAPIDJSON_DIR=$RAPIDJSON_DIR" >> /root/.bashrc
# Call a check-version script to check all build-in libraries for newer version
# ENTRYPOINT ['check-version']