Skip to content

Commit

Permalink
Merge pull request #246 from pelican-eggs/samp
Browse files Browse the repository at this point in the history
Add libssl1.1 for samp and openmp
  • Loading branch information
parkervcp authored May 20, 2024
2 parents a8e9472 + c531bfe commit fc68124
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions games/samp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ RUN apt update \
RUN dpkg --add-architecture i386 \
&& apt update \
&& apt upgrade -y \
&& apt install -y libstdc++6 lib32stdc++6 tar curl iproute2 openssl fontconfig dirmngr ca-certificates dnsutils tzdata zip tini \
&& apt install -y libstdc++6 lib32stdc++6 tar wget curl iproute2 openssl fontconfig dirmngr ca-certificates dnsutils tzdata zip tini \
&& apt install -y libtbb12:i386 libtbb-dev:i386 libicu-dev:i386 \
&& useradd -d /home/container -m container

RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
RUN rm -rf /var/lib/apt/lists/*


# Temp fix for things that still need libssl1.1 32 bit
RUN if [ "$(uname -m)" = "x86_64" ]; then \
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_i386.deb && \
dpkg -i libssl1.1_1.1.0g-2ubuntu4_i386.deb && \
rm libssl1.1_1.1.0g-2ubuntu4_i386.deb; \
fi

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down

0 comments on commit fc68124

Please sign in to comment.