mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
make - autocommit
This commit is contained in:
parent
7f3755dde0
commit
67a17eeaf1
@ -40,7 +40,6 @@ RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.
|
||||
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||
chown -R buildagent:buildagent $AMXX_INC_PATH && \
|
||||
chmod -R 700 $AMXX_INC_PATH && \
|
||||
chmod +x $AMXX_BIN_PATH/compile.sh
|
||||
|
||||
|
@ -39,7 +39,6 @@ RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.
|
||||
cd /tmp && tar -zxf /tmp/amxx_base_latest.tar.gz && cd / && \
|
||||
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||
chown -R buildagent:buildagent $AMXX_INC_PATH && \
|
||||
chmod -R 700 $AMXX_INC_PATH && \
|
||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||
chmod +x $AMXX_BIN_PATH/compile.sh
|
||||
|
@ -32,7 +32,7 @@ RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.
|
||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||
chmod +x $AMXX_BIN_PATH/compile.sh && \
|
||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||
chown -R buildagent:buildagent $AMXX_INC_PATH && \
|
||||
chown -R gitlab-runner:gitlab-runner $AMXX_INC_PATH && \
|
||||
chmod -R 700 $AMXX_INC_PATH && \
|
||||
amxxpc --help 2>&1 | head -n 1
|
||||
|
||||
|
@ -18,9 +18,12 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
ENV AMXX_VERSION=1.9
|
||||
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
||||
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
||||
ENV AMXX_INC_PATH=$AMXX_BIN_PATH/include
|
||||
ENV PATH=$PATH:$AMXX_BIN_PATH
|
||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AMXX_BIN_PATH
|
||||
|
||||
COPY inc.tar /tmp
|
||||
|
||||
RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
|
||||
mkdir -p $AMXX_INSTALL_PATH && \
|
||||
curl -SL https://www.amxmodx.org/amxxdrop/{$AMXX_VERSION}/{$AMXX_BASE_LATEST_VERSION} -o /tmp/amxx_base_latest.tar.gz && \
|
||||
@ -28,6 +31,9 @@ RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.
|
||||
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||
chmod +x $AMXX_BIN_PATH/compile.sh && \
|
||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||
chown -R gitlab-runner:gitlab-runner $AMXX_INC_PATH && \
|
||||
chmod -R 700 $AMXX_INC_PATH && \
|
||||
amxxpc --help 2>&1 | head -n 1
|
||||
|
||||
##################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user