mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-01 15:08:30 +02:00
Co-authored-by: garnier-quentin <garnier.quentin@gmail.com> Co-authored-by: pkippes <pkippes@centreon.com>
31 lines
615 B
Docker
31 lines
615 B
Docker
ARG REGISTRY_URL
|
|
|
|
FROM ${REGISTRY_URL}/ubuntu:noble
|
|
|
|
RUN bash -e <<EOF
|
|
|
|
apt-get update
|
|
apt-get install -y \
|
|
ca-certificates \
|
|
git \
|
|
openjdk-17-jdk-headless \
|
|
wget \
|
|
zstd
|
|
|
|
cd /usr/local/src
|
|
wget https://dlcdn.apache.org/maven/maven-3/3.8.9/binaries/apache-maven-3.8.9-bin.tar.gz
|
|
tar zxf apache-maven-3.8.9-bin.tar.gz
|
|
ln -s /usr/local/src/apache-maven-3.8.9/bin/mvn /usr/bin/mvn
|
|
rm -f apache-maven-3.8.9-bin.tar.gz
|
|
|
|
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
|
|
|
|
apt-get update
|
|
apt-get install -y nfpm=2.41.0
|
|
|
|
apt-get clean all
|
|
|
|
EOF
|
|
|
|
WORKDIR /src
|