mirror of
https://github.com/ENSL/ensl-plugin.git
synced 2024-11-10 07:11:36 +00:00
Fix Dockerfile
Fix amxx plugin paths
This commit is contained in:
parent
6f09e6a65e
commit
3ec6c76315
2 changed files with 18 additions and 7 deletions
16
Dockerfile
16
Dockerfile
|
@ -40,7 +40,9 @@ 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 mkdir -p /home/amxx/build/base/addons/amxmodx/plugins && \
|
||||
|
||||
RUN mkdir -p /home/amxx/build/pkg/addons/amxmodx/plugins && \
|
||||
mkdir -p /home/amxx/build/pkg/addons/amxmodx/modules && \
|
||||
./amxxpc ENSL.sma && \
|
||||
./amxxpc extralevels3.sma && \
|
||||
./amxxpc hiveccstatus.sma && \
|
||||
|
@ -50,12 +52,12 @@ RUN mkdir -p /home/amxx/build/base/addons/amxmodx/plugins && \
|
|||
WORKDIR /home/amxx/build
|
||||
|
||||
# Then just copy the files we need. No extra.
|
||||
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/ && \
|
||||
cp -ra base/addons/amxmodx/dlls pkg/addons/amxmodx/ && \
|
||||
cp -ra base/addons/amxmodx/configs pkg/addons/amxmodx/
|
||||
RUN cp -rav base/addons/metamod pkg/addons/ && \
|
||||
cp -rav base/addons/amxmodx/modules pkg/addons/amxmodx/ && \
|
||||
cp -rav base/addons/amxmodx/plugins pkg/addons/amxmodx/ && \
|
||||
cp -rav base/addons/amxmodx/data pkg/addons/amxmodx/ && \
|
||||
cp -rav base/addons/amxmodx/dlls pkg/addons/amxmodx/ && \
|
||||
cp -rav base/addons/amxmodx/configs pkg/addons/amxmodx/
|
||||
|
||||
# Copy ENSL to its place, add overlay files and zip the whole thing
|
||||
RUN cp ENSL.amxx pkg/addons/amxmodx/plugins/
|
||||
|
|
9
pkg/addons/amxmodx/configs/modules.ini
Normal file
9
pkg/addons/amxmodx/configs/modules.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
fun
|
||||
engine
|
||||
fakemeta
|
||||
;;geoip
|
||||
sockets
|
||||
;regex
|
||||
;;nvault
|
||||
ns
|
||||
;;hamsandwich
|
Loading…
Reference in a new issue