mirror of
https://github.com/ZorgCC/docker-games-scripts.git
synced 2024-12-25 23:15:28 +03:00
steamcmd
This commit is contained in:
parent
ae5fb3f196
commit
9b3b21579b
36
linux/steamcmd/Dockerfile
Normal file
36
linux/steamcmd/Dockerfile
Normal file
@ -0,0 +1,36 @@
|
||||
FROM epicmorg/edge
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ENV LD_LIBRARY_PATH=/steamcmd/linux64
|
||||
ENV VALVE_FOLDER=/valve
|
||||
ENV VALVE_STEAMCMD_FOLDER=${VALVE_FOLDER}/steamcmd
|
||||
ENV VALVE_GAME_FOLDER=${VALVE_FOLDER}/game
|
||||
ENV PATH="${VALVE_STEAMCMD_FOLDER}:${PATH}"
|
||||
|
||||
WORKDIR $VALVE_STEAMCMD_FOLDER
|
||||
|
||||
##################################################################
|
||||
# installing steamcmd
|
||||
##################################################################
|
||||
RUN mkdir -p $VALVE_STEAMCMD_FOLDER
|
||||
ADD http://media.steampowered.com/installer/steamcmd_linux.tar.gz $VALVE_STEAMCMD_FOLDER
|
||||
|
||||
RUN dpkg --add-architecture i386 && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated gcc-multilib lib32stdc++6 lib32gcc1 && \
|
||||
tar -xvf $VALVE_STEAMCMD_FOLDER/steamcmd_linux.tar.gz -C $VALVE_STEAMCMD_FOLDER && \
|
||||
ln -s $VALVE_STEAMCMD_FOLDER/steamcmd.sh $VALVE_STEAMCMD_FOLDER/steamcmd && \
|
||||
ln -s $VALVE_STEAMCMD_FOLDER/steam.sh $VALVE_STEAMCMD_FOLDER/steam && \
|
||||
steamcmd +quit
|
||||
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
RUN apt clean -y && \
|
||||
apt autoclean -y && \
|
||||
rm -rfv $VALVE_STEAMCMD_FOLDER/steamcmd_linux.tar.gz && \
|
||||
rm -rfv /tmp/ && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
5
linux/steamcmd/Makefile
Normal file
5
linux/steamcmd/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
all: emgcmd
|
||||
emgcmd:
|
||||
docker build --compress -t epicmorg/steamcmd .
|
||||
docker push epicmorg/steamcmd
|
||||
|
Loading…
Reference in New Issue
Block a user