summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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