mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 14:47:55 +03:00
Merge branch 'develop'
This commit is contained in:
commit
30aaa06894
@ -14,6 +14,7 @@
|
|||||||
* updated `base` images
|
* updated `base` images
|
||||||
* added `node19`, `node4`, `node6`, `node8`
|
* added `node19`, `node4`, `node6`, `node8`
|
||||||
* added `amxX 1.10`
|
* added `amxX 1.10`
|
||||||
|
* added `dotnet7`
|
||||||
* `oct`
|
* `oct`
|
||||||
* just fixes
|
* just fixes
|
||||||
* `sep`
|
* `sep`
|
||||||
|
@ -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 && \
|
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||||
chown -R buildagent:buildagent $AMXX_INC_PATH && \
|
|
||||||
chmod -R 700 $AMXX_INC_PATH && \
|
chmod -R 700 $AMXX_INC_PATH && \
|
||||||
chmod +x $AMXX_BIN_PATH/compile.sh
|
chmod +x $AMXX_BIN_PATH/compile.sh
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ ENV BuildDocker true
|
|||||||
# export AMXX_TS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
|
# export AMXX_TS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
|
||||||
#
|
#
|
||||||
# Install packages
|
# Install packages
|
||||||
ENV AMXX_VERSION=1.10
|
ENV AMXX_VERSION=1.9
|
||||||
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
||||||
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
||||||
ENV AMXX_INC_PATH=$AMXX_BIN_PATH/include
|
ENV AMXX_INC_PATH=$AMXX_BIN_PATH/include
|
||||||
@ -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 / && \
|
cd /tmp && tar -zxf /tmp/amxx_base_latest.tar.gz && cd / && \
|
||||||
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||||
chown -R buildagent:buildagent $AMXX_INC_PATH && \
|
|
||||||
chmod -R 700 $AMXX_INC_PATH && \
|
chmod -R 700 $AMXX_INC_PATH && \
|
||||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||||
chmod +x $AMXX_BIN_PATH/compile.sh
|
chmod +x $AMXX_BIN_PATH/compile.sh
|
||||||
|
@ -172,45 +172,53 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
echo 'deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.04/prod focal main' > /etc/apt/sources.list.d/microsoft.dotnet.list && \
|
echo 'deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/20.04/prod focal main' > /etc/apt/sources.list.d/microsoft.dotnet.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends --allow-unauthenticated \
|
apt-get install -y --no-install-recommends --allow-unauthenticated \
|
||||||
dotnet-sdk-2.1 \
|
# dotnet-sdk-2.1 \
|
||||||
dotnet-runtime-deps-2.1 \
|
# dotnet-runtime-deps-2.1 \
|
||||||
dotnet-runtime-2.1 \
|
# dotnet-runtime-2.1 \
|
||||||
dotnet-hostfxr-2.1 \
|
# dotnet-hostfxr-2.1 \
|
||||||
dotnet-sdk-3.1 \
|
# dotnet-sdk-3.1 \
|
||||||
dotnet-targeting-pack-3.1 \
|
# dotnet-targeting-pack-3.1 \
|
||||||
dotnet-runtime-deps-3.1 \
|
# dotnet-runtime-deps-3.1 \
|
||||||
dotnet-runtime-3.1 \
|
# dotnet-runtime-3.1 \
|
||||||
dotnet-hostfxr-3.1 \
|
# dotnet-hostfxr-3.1 \
|
||||||
dotnet-apphost-pack-3.1 \
|
# dotnet-apphost-pack-3.1 \
|
||||||
dotnet-sdk-5.0 \
|
# dotnet-sdk-5.0 \
|
||||||
dotnet-targeting-pack-5.0 \
|
# dotnet-targeting-pack-5.0 \
|
||||||
dotnet-runtime-deps-5.0 \
|
# dotnet-runtime-deps-5.0 \
|
||||||
dotnet-runtime-5.0 \
|
# dotnet-runtime-5.0 \
|
||||||
dotnet-hostfxr-5.0 \
|
# dotnet-hostfxr-5.0 \
|
||||||
dotnet-apphost-pack-5.0 \
|
# dotnet-apphost-pack-5.0 \
|
||||||
dotnet-sdk-6.0 \
|
dotnet-sdk-6.0 \
|
||||||
dotnet-targeting-pack-6.0 \
|
dotnet-targeting-pack-6.0 \
|
||||||
dotnet-runtime-deps-6.0 \
|
dotnet-runtime-deps-6.0 \
|
||||||
dotnet-runtime-6.0 \
|
dotnet-runtime-6.0 \
|
||||||
dotnet-hostfxr-6.0 \
|
dotnet-hostfxr-6.0 \
|
||||||
dotnet-apphost-pack-6.0 \
|
dotnet-apphost-pack-6.0 \
|
||||||
|
dotnet-sdk-7.0 \
|
||||||
|
dotnet-targeting-pack-7.0 \
|
||||||
|
dotnet-runtime-deps-7.0 \
|
||||||
|
dotnet-runtime-7.0 \
|
||||||
|
dotnet-hostfxr-7.0 \
|
||||||
|
dotnet-apphost-pack-7.0 \
|
||||||
dotnet-host \
|
dotnet-host \
|
||||||
procdump \
|
procdump \
|
||||||
procmon \
|
procmon \
|
||||||
powershell-preview \
|
powershell-preview \
|
||||||
powershell
|
powershell
|
||||||
|
|
||||||
|
RUN mkdir -p /usr/share/dotnet/host/fxr
|
||||||
|
|
||||||
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
|
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
|
||||||
RUN dotnet help && \
|
RUN dotnet help && \
|
||||||
pwsh-preview -v && \
|
pwsh-preview -v && \
|
||||||
pwsh -v
|
pwsh -v
|
||||||
|
|
||||||
# install dotnet tools
|
# install dotnet tools
|
||||||
RUN dotnet tool list -g && \
|
#RUN dotnet tool list -g && \
|
||||||
dotnet tool install -g dotnet-script && \
|
# dotnet tool install -g dotnet-script && \
|
||||||
curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash && \
|
# curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash && \
|
||||||
dotnet tool list -g && \
|
# dotnet tool list -g && \
|
||||||
dotnet-script --version
|
# dotnet-script --version
|
||||||
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
@ -230,32 +238,39 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E03280
|
|||||||
ca-certificates-mono \
|
ca-certificates-mono \
|
||||||
mono-xsp4
|
mono-xsp4
|
||||||
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# AMXXModX setup
|
# teamcity AMXXModX setup
|
||||||
##################################################################
|
##################################################################
|
||||||
#
|
#
|
||||||
# Reserved for future
|
# Reserved for future
|
||||||
# export AMXX_CSTRIKE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-cstrike-linux` && \
|
# export AMXX_CSTRIKE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-cstrike-linux` && \
|
||||||
# export AMXX_DOD_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-dod-linux` && \
|
# export AMXX_DOD_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-dod-linux` && \
|
||||||
# export AMXX_ESF_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-esf-linux` && \
|
# export AMXX_ESF_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-esf-linux` && \
|
||||||
# export AMXX_NS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-ns-linux` && \
|
# export AMXX_NS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-ns-linux` && \
|
||||||
# export AMXX_TFC_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-tfc-linux` && \
|
# export AMXX_TFC_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-tfc-linux` && \
|
||||||
# export AMXX_TS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
|
# export AMXX_TS_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-base-linux` && \
|
||||||
#
|
|
||||||
# Install packages
|
# Install packages
|
||||||
ENV AMXX_VERSION=1.9
|
ENV AMXX_VERSION=1.10
|
||||||
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
||||||
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
||||||
|
ENV AMXX_INC_PATH=$AMXX_BIN_PATH/include
|
||||||
ENV PATH=$PATH:$AMXX_BIN_PATH
|
ENV PATH=$PATH:$AMXX_BIN_PATH
|
||||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AMXX_BIN_PATH
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AMXX_BIN_PATH
|
||||||
|
|
||||||
RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
|
COPY inc.tar /tmp
|
||||||
|
|
||||||
|
RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.10/amxmodx-latest-base-linux` && \
|
||||||
mkdir -p $AMXX_INSTALL_PATH && \
|
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 && \
|
curl -SL https://www.amxmodx.org/amxxdrop/{$AMXX_VERSION}/{$AMXX_BASE_LATEST_VERSION} -o /tmp/amxx_base_latest.tar.gz && \
|
||||||
cd /tmp && tar -zxf /tmp/amxx_base_latest.tar.gz && cd / && \
|
cd /tmp && tar -zxf /tmp/amxx_base_latest.tar.gz && cd / && \
|
||||||
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||||
chmod +x $AMXX_BIN_PATH/compile.sh
|
chmod +x $AMXX_BIN_PATH/compile.sh && \
|
||||||
|
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
||||||
|
chmod -R 700 $AMXX_INC_PATH && \
|
||||||
|
amxxpc --help 2>&1 | head -n 1
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Android SDK
|
# Android SDK
|
||||||
|
BIN
linux/advanced/vscode-server/devops/inc.tar
Normal file
BIN
linux/advanced/vscode-server/devops/inc.tar
Normal file
Binary file not shown.
@ -52,12 +52,12 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
# dotnet-runtime-5.0 \
|
# dotnet-runtime-5.0 \
|
||||||
# dotnet-hostfxr-5.0 \
|
# dotnet-hostfxr-5.0 \
|
||||||
# dotnet-apphost-pack-5.0 \
|
# dotnet-apphost-pack-5.0 \
|
||||||
# dotnet-sdk-6.0 \
|
dotnet-sdk-6.0 \
|
||||||
# dotnet-targeting-pack-6.0 \
|
dotnet-targeting-pack-6.0 \
|
||||||
# dotnet-runtime-deps-6.0 \
|
dotnet-runtime-deps-6.0 \
|
||||||
# dotnet-runtime-6.0 \
|
dotnet-runtime-6.0 \
|
||||||
# dotnet-hostfxr-6.0 \
|
dotnet-hostfxr-6.0 \
|
||||||
# dotnet-apphost-pack-6.0 \
|
dotnet-apphost-pack-6.0 \
|
||||||
dotnet-sdk-7.0 \
|
dotnet-sdk-7.0 \
|
||||||
dotnet-targeting-pack-7.0 \
|
dotnet-targeting-pack-7.0 \
|
||||||
dotnet-runtime-deps-7.0 \
|
dotnet-runtime-deps-7.0 \
|
||||||
@ -70,17 +70,19 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
powershell-preview \
|
powershell-preview \
|
||||||
powershell
|
powershell
|
||||||
|
|
||||||
|
RUN mkdir -p /usr/share/dotnet/host/fxr
|
||||||
|
|
||||||
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
|
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
|
||||||
RUN dotnet help && \
|
RUN dotnet help && \
|
||||||
pwsh-preview -v && \
|
pwsh-preview -v && \
|
||||||
pwsh -v
|
pwsh -v
|
||||||
|
|
||||||
# install dotnet tools
|
# install dotnet tools
|
||||||
RUN dotnet tool list -g && \
|
#RUN dotnet tool list -g && \
|
||||||
dotnet tool install -g dotnet-script && \
|
# dotnet tool install -g dotnet-script && \
|
||||||
curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash && \
|
# curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash && \
|
||||||
dotnet tool list -g && \
|
# dotnet tool list -g && \
|
||||||
dotnet-script --version
|
# dotnet-script --version
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Mono
|
# Mono
|
||||||
|
@ -52,12 +52,12 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
# dotnet-runtime-5.0 \
|
# dotnet-runtime-5.0 \
|
||||||
# dotnet-hostfxr-5.0 \
|
# dotnet-hostfxr-5.0 \
|
||||||
# dotnet-apphost-pack-5.0 \
|
# dotnet-apphost-pack-5.0 \
|
||||||
# dotnet-sdk-6.0 \
|
dotnet-sdk-6.0 \
|
||||||
# dotnet-targeting-pack-6.0 \
|
dotnet-targeting-pack-6.0 \
|
||||||
# dotnet-runtime-deps-6.0 \
|
dotnet-runtime-deps-6.0 \
|
||||||
# dotnet-runtime-6.0 \
|
dotnet-runtime-6.0 \
|
||||||
# dotnet-hostfxr-6.0 \
|
dotnet-hostfxr-6.0 \
|
||||||
# dotnet-apphost-pack-6.0 \
|
dotnet-apphost-pack-6.0 \
|
||||||
dotnet-sdk-7.0 \
|
dotnet-sdk-7.0 \
|
||||||
dotnet-targeting-pack-7.0 \
|
dotnet-targeting-pack-7.0 \
|
||||||
dotnet-runtime-deps-7.0 \
|
dotnet-runtime-deps-7.0 \
|
||||||
@ -70,17 +70,20 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
powershell-preview \
|
powershell-preview \
|
||||||
powershell
|
powershell
|
||||||
|
|
||||||
|
|
||||||
|
RUN mkdir -p /usr/share/dotnet/host/fxr
|
||||||
|
|
||||||
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
|
# Trigger .NET CLI first run experience by running arbitrary cmd to populate local package cache
|
||||||
RUN dotnet help && \
|
RUN dotnet help && \
|
||||||
pwsh-preview -v && \
|
pwsh-preview -v && \
|
||||||
pwsh -v
|
pwsh -v
|
||||||
|
|
||||||
# install dotnet tools
|
# install dotnet tools
|
||||||
RUN dotnet tool list -g && \
|
#RUN dotnet tool list -g && \
|
||||||
dotnet tool install -g dotnet-script && \
|
# dotnet tool install -g dotnet-script && \
|
||||||
curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash && \
|
# curl -s https://raw.githubusercontent.com/filipw/dotnet-script/master/install/install.sh | bash && \
|
||||||
dotnet tool list -g && \
|
# dotnet tool list -g && \
|
||||||
dotnet-script --version
|
# dotnet-script --version
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
|
@ -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/amxxpc && \
|
||||||
chmod +x $AMXX_BIN_PATH/compile.sh && \
|
chmod +x $AMXX_BIN_PATH/compile.sh && \
|
||||||
tar -C $AMXX_INC_PATH -xvf /tmp/inc.tar && \
|
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 && \
|
chmod -R 700 $AMXX_INC_PATH && \
|
||||||
amxxpc --help 2>&1 | head -n 1
|
amxxpc --help 2>&1 | head -n 1
|
||||||
|
|
||||||
|
@ -18,9 +18,12 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
ENV AMXX_VERSION=1.9
|
ENV AMXX_VERSION=1.9
|
||||||
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
ENV AMXX_INSTALL_PATH=/opt/amxmodx/$AMXX_VERSION
|
||||||
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
ENV AMXX_BIN_PATH=$AMXX_INSTALL_PATH/scripting
|
||||||
|
ENV AMXX_INC_PATH=$AMXX_BIN_PATH/include
|
||||||
ENV PATH=$PATH:$AMXX_BIN_PATH
|
ENV PATH=$PATH:$AMXX_BIN_PATH
|
||||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_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` && \
|
RUN export AMXX_BASE_LATEST_VERSION=`curl -s https://www.amxmodx.org/amxxdrop/1.9/amxmodx-latest-base-linux` && \
|
||||||
mkdir -p $AMXX_INSTALL_PATH && \
|
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 && \
|
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 && \
|
mv -f /tmp/addons/amxmodx/* $AMXX_INSTALL_PATH && \
|
||||||
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
chmod +x $AMXX_BIN_PATH/amxxpc && \
|
||||||
chmod +x $AMXX_BIN_PATH/compile.sh && \
|
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
|
amxxpc --help 2>&1 | head -n 1
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
|
@ -36,28 +36,34 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
libssl1.1 \
|
libssl1.1 \
|
||||||
libstdc++6 \
|
libstdc++6 \
|
||||||
zlib1g \
|
zlib1g \
|
||||||
dotnet-sdk-2.1 \
|
# dotnet-sdk-2.1 \
|
||||||
dotnet-runtime-deps-2.1 \
|
# dotnet-runtime-deps-2.1 \
|
||||||
dotnet-runtime-2.1 \
|
# dotnet-runtime-2.1 \
|
||||||
dotnet-hostfxr-2.1 \
|
# dotnet-hostfxr-2.1 \
|
||||||
dotnet-sdk-3.1 \
|
# dotnet-sdk-3.1 \
|
||||||
dotnet-targeting-pack-3.1 \
|
# dotnet-targeting-pack-3.1 \
|
||||||
dotnet-runtime-deps-3.1 \
|
# dotnet-runtime-deps-3.1 \
|
||||||
dotnet-runtime-3.1 \
|
# dotnet-runtime-3.1 \
|
||||||
dotnet-hostfxr-3.1 \
|
# dotnet-hostfxr-3.1 \
|
||||||
dotnet-apphost-pack-3.1 \
|
# dotnet-apphost-pack-3.1 \
|
||||||
dotnet-sdk-5.0 \
|
# dotnet-sdk-5.0 \
|
||||||
dotnet-targeting-pack-5.0 \
|
# dotnet-targeting-pack-5.0 \
|
||||||
dotnet-runtime-deps-5.0 \
|
# dotnet-runtime-deps-5.0 \
|
||||||
dotnet-runtime-5.0 \
|
# dotnet-runtime-5.0 \
|
||||||
dotnet-hostfxr-5.0 \
|
# dotnet-hostfxr-5.0 \
|
||||||
dotnet-apphost-pack-5.0 \
|
# dotnet-apphost-pack-5.0 \
|
||||||
dotnet-sdk-6.0 \
|
# dotnet-sdk-6.0 \
|
||||||
dotnet-targeting-pack-6.0 \
|
# dotnet-targeting-pack-6.0 \
|
||||||
dotnet-runtime-deps-6.0 \
|
# dotnet-runtime-deps-6.0 \
|
||||||
dotnet-runtime-6.0 \
|
# dotnet-runtime-6.0 \
|
||||||
dotnet-hostfxr-6.0 \
|
# dotnet-hostfxr-6.0 \
|
||||||
dotnet-apphost-pack-6.0 \
|
# dotnet-apphost-pack-6.0 \
|
||||||
|
dotnet-sdk-7.0 \
|
||||||
|
dotnet-targeting-pack-7.0 \
|
||||||
|
dotnet-runtime-deps-7.0 \
|
||||||
|
dotnet-runtime-7.0 \
|
||||||
|
dotnet-hostfxr-7.0 \
|
||||||
|
dotnet-apphost-pack-7.0 \
|
||||||
dotnet-host \
|
dotnet-host \
|
||||||
procdump \
|
procdump \
|
||||||
# procmon \
|
# procmon \
|
||||||
|
@ -14,38 +14,6 @@ ENV GIT_SSH_VARIANT=ssh
|
|||||||
RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/certs && \
|
RUN mkdir -p ${GITLAB_RUNNER_HOME} ${GITLAB_RUNNER_CONF} ${GITLAB_RUNNER_CONF}/certs && \
|
||||||
chmod -R 700 /etc/gitlab-runner
|
chmod -R 700 /etc/gitlab-runner
|
||||||
|
|
||||||
##################################################################
|
|
||||||
# docker setup
|
|
||||||
##################################################################
|
|
||||||
|
|
||||||
#Install packages
|
|
||||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
|
|
||||||
echo 'deb https://download.docker.com/linux/debian bullseye test' > /etc/apt/sources.list.d/docker.list && \
|
|
||||||
echo 'deb https://download.docker.com/linux/debian bullseye nightly' >> /etc/apt/sources.list.d/docker.list && \
|
|
||||||
apt-cache policy docker-ce && \
|
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --no-install-recommends --allow-unauthenticated \
|
|
||||||
docker-ce \
|
|
||||||
docker-ce-cli \
|
|
||||||
containerd.io systemd && \
|
|
||||||
systemctl disable docker && \
|
|
||||||
docker --version
|
|
||||||
|
|
||||||
COPY run-docker.sh /services/run-docker.sh
|
|
||||||
RUN chmod +x /services/run-docker.sh && \
|
|
||||||
sync
|
|
||||||
|
|
||||||
##################################################################
|
|
||||||
# docker compose setup
|
|
||||||
##################################################################
|
|
||||||
|
|
||||||
#Install packages
|
|
||||||
RUN export DOCKER_COMPOSE_VERSION=`curl --silent https://api.github.com/repos/docker/compose/releases/latest | jq .name -r` && \
|
|
||||||
echo "Latest compose is: ${DOCKER_COMPOSE_VERSION}" && \
|
|
||||||
curl -SL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose && \
|
|
||||||
chmod +x /usr/local/bin/docker-compose && \
|
|
||||||
docker-compose --version
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# gitlab runner setup
|
# gitlab runner setup
|
||||||
##################################################################
|
##################################################################
|
||||||
@ -54,7 +22,6 @@ RUN cd /tmp && \
|
|||||||
chmod +x /tmp/install-gitlab-runner.sh && \
|
chmod +x /tmp/install-gitlab-runner.sh && \
|
||||||
bash /tmp/install-gitlab-runner.sh && \
|
bash /tmp/install-gitlab-runner.sh && \
|
||||||
# useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash && \
|
# useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash && \
|
||||||
usermod -aG docker gitlab-runner && \
|
|
||||||
cat /etc/passwd && \
|
cat /etc/passwd && \
|
||||||
gitlab-runner --version
|
gitlab-runner --version
|
||||||
|
|
||||||
|
@ -36,28 +36,34 @@ RUN curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|||||||
libssl1.1 \
|
libssl1.1 \
|
||||||
libstdc++6 \
|
libstdc++6 \
|
||||||
zlib1g \
|
zlib1g \
|
||||||
dotnet-sdk-2.1 \
|
# dotnet-sdk-2.1 \
|
||||||
dotnet-runtime-deps-2.1 \
|
# dotnet-runtime-deps-2.1 \
|
||||||
dotnet-runtime-2.1 \
|
# dotnet-runtime-2.1 \
|
||||||
dotnet-hostfxr-2.1 \
|
# dotnet-hostfxr-2.1 \
|
||||||
dotnet-sdk-3.1 \
|
# dotnet-sdk-3.1 \
|
||||||
dotnet-targeting-pack-3.1 \
|
# dotnet-targeting-pack-3.1 \
|
||||||
dotnet-runtime-deps-3.1 \
|
# dotnet-runtime-deps-3.1 \
|
||||||
dotnet-runtime-3.1 \
|
# dotnet-runtime-3.1 \
|
||||||
dotnet-hostfxr-3.1 \
|
# dotnet-hostfxr-3.1 \
|
||||||
dotnet-apphost-pack-3.1 \
|
# dotnet-apphost-pack-3.1 \
|
||||||
dotnet-sdk-5.0 \
|
# dotnet-sdk-5.0 \
|
||||||
dotnet-targeting-pack-5.0 \
|
# dotnet-targeting-pack-5.0 \
|
||||||
dotnet-runtime-deps-5.0 \
|
# dotnet-runtime-deps-5.0 \
|
||||||
dotnet-runtime-5.0 \
|
# dotnet-runtime-5.0 \
|
||||||
dotnet-hostfxr-5.0 \
|
# dotnet-hostfxr-5.0 \
|
||||||
dotnet-apphost-pack-5.0 \
|
# dotnet-apphost-pack-5.0 \
|
||||||
dotnet-sdk-6.0 \
|
# dotnet-sdk-6.0 \
|
||||||
dotnet-targeting-pack-6.0 \
|
# dotnet-targeting-pack-6.0 \
|
||||||
dotnet-runtime-deps-6.0 \
|
# dotnet-runtime-deps-6.0 \
|
||||||
dotnet-runtime-6.0 \
|
# dotnet-runtime-6.0 \
|
||||||
dotnet-hostfxr-6.0 \
|
# dotnet-hostfxr-6.0 \
|
||||||
dotnet-apphost-pack-6.0 \
|
# dotnet-apphost-pack-6.0 \
|
||||||
|
dotnet-sdk-7.0 \
|
||||||
|
dotnet-targeting-pack-7.0 \
|
||||||
|
dotnet-runtime-deps-7.0 \
|
||||||
|
dotnet-runtime-7.0 \
|
||||||
|
dotnet-hostfxr-7.0 \
|
||||||
|
dotnet-apphost-pack-7.0 \
|
||||||
dotnet-host \
|
dotnet-host \
|
||||||
procdump \
|
procdump \
|
||||||
# procmon \
|
# procmon \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user