Skip to content

Commit

Permalink
Removing bwapi and downloading on build instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Wellbrock committed Sep 5, 2017
1 parent 43f8426 commit 20c33ce
Show file tree
Hide file tree
Showing 181 changed files with 5 additions and 30,774 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@ 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 \
&& unzip /tmp/bwapi.zip -d $BWAPI_DIR \
&& rm /tmp/bwapi.zip \
&& mv $BWAPI_DIR/BWAPI/* $BWAPI_DIR \
&& rm -R $BWAPI_DIR/BWAPI \
&& rm /tmp/bwapi.zip \
&& 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=/tmp/rapidjson" >> /root/.bashrc
&& 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']
99 changes: 0 additions & 99 deletions dockerdata/BWAPI/BWAPI/AIModuleLoader/AIModuleLoader.vcxproj

This file was deleted.

164 changes: 0 additions & 164 deletions dockerdata/BWAPI/BWAPI/AIModuleLoader/Source/AIModuleLoader.cpp

This file was deleted.

Loading

0 comments on commit 20c33ce

Please sign in to comment.