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,
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04
|
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:24.04
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
@@ -6,16 +6,35 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN useradd -m -d /home/container -s /bin/bash container
|
RUN useradd -m -d /home/container -s /bin/bash container
|
||||||
|
|
||||||
## update base packages
|
## update base packages
|
||||||
RUN apt update \
|
RUN apt update && \
|
||||||
&& apt upgrade -y
|
apt upgrade -y
|
||||||
|
|
||||||
## install dependencies
|
## install dependencies
|
||||||
RUN apt install -y iproute2 tar libssl1.1 curl git default-libmysqlclient-dev libmysqlclient-dev libreadline-gplv2-dev libncurses5-dev libncursesw5-dev \
|
RUN apt install -y iproute2 \
|
||||||
libtool zip unzip libncurses5 libncursesw5 python3 openssl locales ffmpeg apt-transport-https libc6 binutils xz-utils liblua5.1-0
|
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
|
## configure locale
|
||||||
RUN update-locale lang=en_US.UTF-8 \
|
RUN update-locale lang=en_US.UTF-8 && \
|
||||||
&& dpkg-reconfigure --frontend noninteractive locales
|
dpkg-reconfigure --frontend noninteractive locales
|
||||||
|
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user