You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
848 B
28 lines
848 B
FROM ubuntu:20.04
|
|
|
|
LABEL maintainer="LinuxGSM <[email protected]>"
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
# Install SteamCMD
|
|
RUN echo "**** Install SteamCMD ****" \
|
|
&& echo steam steam/question select "I AGREE" | debconf-set-selections \
|
|
&& echo steam steam/license note '' | debconf-set-selections \
|
|
&& dpkg --add-architecture i386 \
|
|
&& apt-get update \
|
|
&& apt-get install -y --no-install-recommends ca-certificates locales lib32gcc1 libsdl2-2.0-0:i386 steamcmd \
|
|
&& ln -s /usr/games/steamcmd /usr/bin/steamcmd \
|
|
&& apt-get -y autoremove \
|
|
&& apt-get -y clean \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& rm -rf /tmp/* \
|
|
&& rm -rf /var/tmp/*
|
|
|
|
# Add unicode support
|
|
RUN locale-gen en_US.UTF-8
|
|
ENV LANG 'en_US.UTF-8'
|
|
ENV LANGUAGE 'en_US:en'
|
|
|
|
ENTRYPOINT ["steamcmd"]
|
|
CMD ["+help", "+quit"]
|
|
|