Updated Ubuntu to 24.04

This commit is contained in:
Alexey Pustovalov 2024-04-24 18:56:11 +09:00
parent 1ed2c7b58d
commit 1ae260e626
9 changed files with 31 additions and 30 deletions

View File

@ -37,8 +37,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
tini \
tzdata \
ca-certificates \
libssl3 \
libcurl4 \
libssl3t64 \
libcurl4t64 \
libmodbus5 \
libpcre2-8-0 \
libldap-2.4 \

View File

@ -38,8 +38,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
ca-certificates \
smartmontools \
sudo \
libssl3 \
libcurl4 \
libssl3t64 \
libcurl4t64 \
libpcre2-8-0 \
libldap-2.4" && \
apt-get -y update && \

View File

@ -44,15 +44,15 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
nmap \
ca-certificates \
fping \
libcurl4 \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \
libmysqlclient21 \
libopenipmi0 \
libopenipmi0t64 \
libpcre2-8-0 \
libsnmp40 \
libsnmp40t64 \
libssh-4 \
libssl3 \
libssl3t64 \
libxml2 \
mysql-client \
snmp-mibs-downloader \

View File

@ -42,15 +42,15 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
nmap \
ca-certificates \
fping \
libcurl4 \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \
libopenipmi0 \
libopenipmi0t64 \
libpcre2-8-0 \
libsnmp40 \
libsnmp40t64 \
libsqlite3-0 \
libssh-4 \
libssl3 \
libssl3t64 \
libxml2 \
snmp-mibs-downloader \
unixodbc \

View File

@ -45,15 +45,15 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
iputils-ping \
traceroute \
fping \
libcurl4 \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \
libmysqlclient21 \
libopenipmi0 \
libopenipmi0t64 \
libpcre2-8-0 \
libsnmp40 \
libsnmp40t64 \
libssh-4 \
libssl3 \
libssl3t64 \
libxml2 \
mysql-client \
snmp-mibs-downloader \

View File

@ -45,15 +45,15 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
iputils-ping \
traceroute \
fping \
libcurl4 \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \
libopenipmi0 \
libopenipmi0t64 \
libpcre2-8-0 \
libpq5 \
libsnmp40 \
libsnmp40t64 \
libssh-4 \
libssl3 \
libssl3t64 \
libxml2 \
postgresql-client \
snmp-mibs-downloader \

View File

@ -1,4 +1,4 @@
export APACHE_RUN_USER=zabbix
export APACHE_RUN_GROUP=zabbix
export APACHE_RUN_USER=$(id -n -u)
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/tmp/apache2.pid
export APACHE_RUN_DIR=/tmp
export APACHE_RUN_DIR=/tmp/apache2

View File

@ -1,4 +1,4 @@
export APACHE_RUN_USER=zabbix
export APACHE_RUN_GROUP=zabbix
export APACHE_RUN_USER=$(id -n -u)
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/tmp/apache2.pid
export APACHE_RUN_DIR=/tmp
export APACHE_RUN_DIR=/tmp/apache2

View File

@ -42,10 +42,10 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \
${INSTALL_TEMP_PKGS} && \
apt-key --keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 && \
apt-key --keyring /etc/apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg adv --keyserver keyserver.ubuntu.com --recv-keys A48449044AAD5C5D && \
echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/debian.list && \
echo "deb http://deb.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list.d/debian.list && \
gpg --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 && \
gpg -o /etc/apt/keyrings/debian.gpg --export 0E98404D386FA1D9 && \
echo "deb [signed-by=/etc/apt/keyrings/debian.gpg] http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/debian.list && \
echo "deb [signed-by=/etc/apt/keyrings/debian.gpg] http://deb.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list.d/debian.list && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \
@ -72,6 +72,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
DEBIAN_FRONTEND=noninteractive apt-get -y \
purge \
${INSTALL_TEMP_PKGS} && \
rm -rf ~/.gnupg && \
apt-get -y autoremove && \
apt-get -y clean