-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (33 loc) · 1.53 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
30
31
32
33
34
35
36
37
38
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 echo "export BWAPI_DIR=$BWAPI_DIR" >> /root/.bashrc
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 \
&& mv $BWAPI_DIR/BWAPI/* $BWAPI_DIR \
&& rm -R $BWAPI_DIR/BWAPI \
&& rm /tmp/bwapi.zip \
&& chmod 755 -R $BWAPI_DIR
ENV BWTA_DIR /tmp/bwta2
RUN curl -L https://bitbucket.org/auriarte/bwta2/downloads/BWTAlib_2.2.7z -o /tmp/bwta2.7z \
&& 7za x -o$BWTA_DIR /tmp/bwta2.7z \
&& rm /tmp/bwta2.7z \
&& mv $BWTA_DIR/BWTAlib_2.2/* $BWTA_DIR \
&& rm -R $BWTA_DIR/BWTAlib_2.2 \
&& chmod 755 -R $BWTA_DIR \
&& echo "export BWTA_DIR=$BWTA_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 $RAPIDJSON_DIR \
&& tar -xf /tmp/rapidjson.tar.gz -C $RAPIDJSON_DIR \
&& rm /tmp/rapidjson.tar.gz \
&& mv $RAPIDJSON_DIR/rapidjson-1.1.0/* $RAPIDJSON_DIR \
&& rm -R $RAPIDJSON_DIR/rapidjson-1.1.0 \
&& chmod 755 -R $RAPIDJSON_DIR \
&& echo "export RAPIDJSON_DIR=$RAPIDJSON_DIR" >> /root/.bashrc
# Call a check-version script to check all build in libraries for newer versions
# ENTRYPOINT ['check-version']