mirror of
https://github.com/ENSL/ensl-plugin.git
synced 2024-11-10 07:11:36 +00:00
Fix dockerfile
This commit is contained in:
parent
825092e976
commit
6f09e6a65e
2 changed files with 9 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
@ -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/ && \
|
||||
|
|
3
build.sh
3
build.sh
|
@ -1,4 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
mv /home/amxx/build/* /var/build
|
||||
|
||||
cd /var/build/pkg
|
||||
find . -type f
|
||||
bash
|
||||
|
|
Loading…
Reference in a new issue