Added zlib and devel packages

This commit is contained in:
Alexey Pustovalov 2024-03-24 22:42:53 +09:00
parent b109b78974
commit b6a46be4b2
20 changed files with 40 additions and 20 deletions

View File

@ -40,7 +40,8 @@ RUN set -eux && \
libgcc \ libgcc \
libcurl \ libcurl \
libmodbus \ libmodbus \
libldap" && \ libldap \
zlib" && \
apk add \ apk add \
--no-cache \ --no-cache \
--clean-protected \ --clean-protected \

View File

@ -57,7 +57,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
shadow-utils \ shadow-utils \
pcre2 \ pcre2 \
libmodbus \ libmodbus \
libcurl-minimal" && \ libcurl-minimal \
zlib" && \
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \ curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \ rm -rf /tmp/epel-release-latest-9.noarch.rpm && \

View File

@ -41,7 +41,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
libcurl4 \ libcurl4 \
libmodbus5 \ libmodbus5 \
libpcre2-8-0 \ libpcre2-8-0 \
libldap-2.4" && \ libldap-2.4 \
zlib1g" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \ --no-install-recommends install \

View File

@ -51,7 +51,8 @@ RUN set -eux && \
go \ go \
make \ make \
$openjdk_packages \ $openjdk_packages \
unixodbc-dev" && \ unixodbc-dev \
zlib-dev" && \
apk add \ apk add \
--no-cache \ --no-cache \
--clean-protected \ --clean-protected \

View File

@ -44,7 +44,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
git \ git \
gettext \ gettext \
go-toolset \ go-toolset \
unixODBC-devel" && \ unixODBC-devel \
zlib-devel" && \
microdnf -y install \ microdnf -y install \
--disablerepo "*" \ --disablerepo "*" \
--enablerepo "extras-common" \ --enablerepo "extras-common" \

View File

@ -45,7 +45,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
java-17-openjdk-devel \ java-17-openjdk-devel \
git \ git \
gettext \ gettext \
unixODBC-devel" && \ unixODBC-devel \
zlib-devel" && \
microdnf -y install \ microdnf -y install \
--disablerepo "*" \ --disablerepo "*" \
--enablerepo "ol9_baseos_latest" \ --enablerepo "ol9_baseos_latest" \

View File

@ -56,7 +56,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
java-17-openjdk-devel \ java-17-openjdk-devel \
git \ git \
gettext \ gettext \
unixODBC-devel" && \ unixODBC-devel \
zlib-devel" && \
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \ curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \ rm -rf /tmp/epel-release-latest-9.noarch.rpm && \

View File

@ -46,7 +46,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
git \ git \
golang-1.21 \ golang-1.21 \
unzip \ unzip \
unixodbc-dev" && \ unixodbc-dev \
zlib1g-dev" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \ --no-install-recommends install \

View File

@ -53,7 +53,8 @@ RUN set -eux && \
pcre2 \ pcre2 \
unixodbc \ unixodbc \
gzip \ gzip \
fping" && \ fping \
zlib" && \
apk add \ apk add \
--no-cache \ --no-cache \
--clean-protected \ --clean-protected \

View File

@ -73,7 +73,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-libs \ OpenIPMI-libs \
pcre2 \ pcre2 \
gzip \ gzip \
unixODBC" && \ unixODBC \
zlib" && \
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \ curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \ rm -rf /tmp/epel-release-latest-9.noarch.rpm && \

View File

@ -57,7 +57,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
mysql-client \ mysql-client \
snmp-mibs-downloader \ snmp-mibs-downloader \
gzip \ gzip \
unixodbc" && \ unixodbc \
zlib1g" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \ --no-install-recommends install \

View File

@ -50,7 +50,8 @@ RUN set -eux && \
openipmi-libs \ openipmi-libs \
pcre2 \ pcre2 \
sqlite-libs \ sqlite-libs \
unixodbc" && \ unixodbc \
zlib" && \
apk add \ apk add \
--no-cache \ --no-cache \
--clean-protected \ --clean-protected \

View File

@ -70,7 +70,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-libs \ OpenIPMI-libs \
pcre2 \ pcre2 \
sqlite-libs \ sqlite-libs \
unixODBC" && \ unixODBC \
zlib" && \
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \ curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \ rm -rf /tmp/epel-release-latest-9.noarch.rpm && \

View File

@ -53,7 +53,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
libssl3 \ libssl3 \
libxml2 \ libxml2 \
snmp-mibs-downloader \ snmp-mibs-downloader \
unixodbc" && \ unixodbc \
zlib1g" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \ --no-install-recommends install \

View File

@ -53,7 +53,8 @@ RUN set -eux && \
openipmi-libs \ openipmi-libs \
pcre2 \ pcre2 \
gzip \ gzip \
unixodbc" && \ unixodbc \
zlib" && \
apk add \ apk add \
--no-cache \ --no-cache \
--clean-protected \ --clean-protected \

View File

@ -76,7 +76,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-libs \ OpenIPMI-libs \
pcre2 \ pcre2 \
gzip \ gzip \
unixODBC" && \ unixODBC \
zlib" && \
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \ curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \ rm -rf /tmp/epel-release-latest-9.noarch.rpm && \

View File

@ -58,7 +58,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
mysql-client \ mysql-client \
snmp-mibs-downloader \ snmp-mibs-downloader \
gzip \ gzip \
unixodbc" && \ unixodbc \
zlib1g" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \ --no-install-recommends install \

View File

@ -56,7 +56,8 @@ RUN set -eux && \
postgresql-client \ postgresql-client \
postgresql-libs \ postgresql-libs \
gzip \ gzip \
unixodbc" && \ unixodbc \
zlib" && \
apk add \ apk add \
--no-cache \ --no-cache \
--clean-protected \ --clean-protected \

View File

@ -79,7 +79,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
postgresql \ postgresql \
postgresql-libs \ postgresql-libs \
gzip \ gzip \
unixODBC" && \ unixODBC \
zlib1g" && \
curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \ curl --tlsv1.2 -sSf -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -o /tmp/epel-release-latest-9.noarch.rpm && \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \ rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \ rm -rf /tmp/epel-release-latest-9.noarch.rpm && \

View File

@ -61,7 +61,8 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
postgresql-client \ postgresql-client \
snmp-mibs-downloader \ snmp-mibs-downloader \
gzip \ gzip \
unixodbc" && \ unixodbc \
zlib1g" && \
apt-get -y update && \ apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \ DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \ --no-install-recommends install \