Fix dockerfile

This commit is contained in:
Ari Timonen 2018-04-29 15:26:48 -04:00
parent 825092e976
commit 6f09e6a65e
2 changed files with 9 additions and 4 deletions

View file

@ -40,15 +40,17 @@ COPY src/*.sma /home/amxx/build/base/addons/amxmodx/scripting/
COPY src/include/* /home/amxx/build/base/addons/amxmodx/scripting/include
WORKDIR /home/amxx/build/base/addons/amxmodx/scripting
RUN ./amxxpc ENSL.sma && cp ENSL.amxx /home/amxx/build && \
RUN mkdir -p /home/amxx/build/base/addons/amxmodx/plugins && \
./amxxpc ENSL.sma && \
./amxxpc extralevels3.sma && \
./amxxpc hiveccstatus.sma
./amxxpc hiveccstatus.sma && \
cp *.amxx /home/amxx/build/base/addons/amxmodx/plugins/ && \
cp *.amxx /home/amxx/build
WORKDIR /home/amxx/build
# Then just copy the files we need. No extra.
RUN mkdir -p pkg/addons/amxmodx && \
cp -ra base/addons/metamod pkg/addons/metamod && \
RUN cp -ra base/addons/metamod pkg/addons/ && \
cp -ra base/addons/amxmodx/modules pkg/addons/amxmodx/ && \
cp -ra base/addons/amxmodx/plugins pkg/addons/amxmodx/ && \
cp -ra base/addons/amxmodx/data pkg/addons/amxmodx/ && \

View file

@ -1,4 +1,7 @@
#!/bin/bash
mv /home/amxx/build/* /var/build
cd /var/build/pkg
find . -type f
bash