Update Dockerfile
Some checks reported warnings
Build and push image / Build (push) Has been cancelled

This commit is contained in:
Jack 2023-09-27 15:19:00 +01:00
parent 79c22bb87e
commit 65edcd5bb7

View File

@ -1,15 +1,19 @@
FROM ubuntu:22.04
RUN apt update && apt-get install unzip zip -y
RUN apt update && apt-get install unzip zip wget curl -y
RUN dpkg --add-architecture i386
RUN mkdir -pm755 /etc/apt/keyrings
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
RUN apt update
RUN apt install --install-recommends winehq-stable -y
RUN apt install steamcmd
RUN wget https://github.com/assetto-corsa-web/accweb/releases/download/v1.21.0/accweb_v1.21.0.zip
RUN mkdir -p /accserver
RUN steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir ~/accserver +app_update 1430110 +quit
RUN unzip accweb_v1.21.0.zip -d /accweb
RUN mkdir -p /accweb