centreon-plugins/.github/docker/packaging/Dockerfile.packaging-plugin...

53 lines
826 B
Docker
Raw Normal View History

ARG REGISTRY_URL=docker.io
FROM ${REGISTRY_URL}/debian:bullseye
2023-01-10 15:03:40 +01:00
ENV DEBIAN_FRONTEND noninteractive
2023-01-10 15:03:40 +01:00
# fix locale
RUN bash -e <<EOF
2023-01-10 15:03:40 +01:00
apt-get update
apt-get install -y locales
rm -rf /var/lib/apt/lists/*
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
apt-get clean
EOF
ENV LANG en_US.utf8
RUN bash -e <<EOF
2023-01-10 15:03:40 +01:00
apt-get update
2023-01-10 15:03:40 +01:00
apt-get install -y \
dh-make \
aptitude \
ca-certificates \
libssh-dev \
2023-01-10 15:03:40 +01:00
lintian \
pbuilder \
quilt \
git-buildpackage \
debmake \
devscripts \
fakeroot \
curl \
gcc \
2023-01-10 15:03:40 +01:00
git \
python3 \
libjson-perl \
libapp-fatpacker-perl \
libfile-copy-recursive-perl \
2023-05-29 12:54:14 +02:00
jq \
zstd
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
2023-01-10 15:03:40 +01:00
apt-get clean
EOF