From f9477ebea764c41f018b01daa98004d3220b154c Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 11 Mar 2023 21:08:27 +0100 Subject: Docker: T5076: unbloat container - remove dependencies for pam_tacplus --- docker/Dockerfile | 7 ------- packages/pam_tacplus/build.sh | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c3658834..1f71e0a0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -338,13 +338,6 @@ RUN apt-get update && apt-get install -y \ libssl-dev \ libpcre3-dev -# Packages needed for pam_tacplus -RUN apt-get update && apt-get install -y \ - libpam-dev \ - autoconf-archive \ - gnulib \ - libtool - # Allow password-less 'sudo' for all users in group 'sudo' RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \ echo "vyos_bld\tALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ diff --git a/packages/pam_tacplus/build.sh b/packages/pam_tacplus/build.sh index fe4b06c8..2aa69014 100755 --- a/packages/pam_tacplus/build.sh +++ b/packages/pam_tacplus/build.sh @@ -12,4 +12,5 @@ cd ${SRC} cp -a ../pam_tacplus-debian debian rm -f debian/compat +sudo mk-build-deps --install --tool "apt-get --yes --no-install-recommends" dpkg-buildpackage -uc -us -tc -b -d -- cgit v1.2.3