mirror of
https://github.com/ENSL/ensl-plugin.git
synced 2025-02-12 14:55:53 +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
|
COPY src/include/* /home/amxx/build/base/addons/amxmodx/scripting/include
|
||||||
|
|
||||||
WORKDIR /home/amxx/build/base/addons/amxmodx/scripting
|
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 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
|
WORKDIR /home/amxx/build
|
||||||
|
|
||||||
# Then just copy the files we need. No extra.
|
# Then just copy the files we need. No extra.
|
||||||
RUN mkdir -p pkg/addons/amxmodx && \
|
RUN cp -ra base/addons/metamod pkg/addons/ && \
|
||||||
cp -ra base/addons/metamod pkg/addons/metamod && \
|
|
||||||
cp -ra base/addons/amxmodx/modules pkg/addons/amxmodx/ && \
|
cp -ra base/addons/amxmodx/modules pkg/addons/amxmodx/ && \
|
||||||
cp -ra base/addons/amxmodx/plugins pkg/addons/amxmodx/ && \
|
cp -ra base/addons/amxmodx/plugins pkg/addons/amxmodx/ && \
|
||||||
cp -ra base/addons/amxmodx/data pkg/addons/amxmodx/ && \
|
cp -ra base/addons/amxmodx/data pkg/addons/amxmodx/ && \
|
||||||
|
|
3
build.sh
3
build.sh
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mv /home/amxx/build/* /var/build
|
mv /home/amxx/build/* /var/build
|
||||||
|
|
||||||
|
cd /var/build/pkg
|
||||||
|
find . -type f
|
||||||
bash
|
bash
|
||||||
|
|
Loading…
Reference in a new issue