summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-11 21:08:27 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-11 21:45:17 +0100
commitf9477ebea764c41f018b01daa98004d3220b154c (patch)
treeb76ebfdcfa24443cb970c7d93aca1c1ac3602f14
parent51f21e1f251780f8e93c5ea06bbbef84a6a6889a (diff)
downloadvyos-build-f9477ebea764c41f018b01daa98004d3220b154c.tar.gz
vyos-build-f9477ebea764c41f018b01daa98004d3220b154c.zip
Docker: T5076: unbloat container - remove dependencies for pam_tacplus
-rw-r--r--docker/Dockerfile7
-rwxr-xr-xpackages/pam_tacplus/build.sh1
2 files changed, 1 insertions, 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