Files
yolks/games/mta/Dockerfile
Michael (Parker) Parker b4aa2be2a3 update mta yolk
Updates to latest Ubuntu LTS release.
Updates the format used for dependencies

I have validated that this works with both current and upcoming releases,
2025-05-08 22:22:40 -04:00

42 lines
922 B
Docker

FROM --platform=$TARGETOS/$TARGETARCH ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
## add container user
RUN useradd -m -d /home/container -s /bin/bash container
## update base packages
RUN apt update && \
apt upgrade -y
## install dependencies
RUN apt install -y iproute2 \
curl \
git \
zip \
unzip \
tar \
xz-utils \
apt-transport-https \
openssl \
libssl3 \
default-libmysqlclient-dev \
libmysqlclient-dev \
libreadline-dev \
libncurses-dev \
libtool \
python3 \
locales \
ffmpeg \
libc6 \
binutils \
liblua5.1-0
## configure locale
RUN update-locale lang=en_US.UTF-8 && \
dpkg-reconfigure --frontend noninteractive locales
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]