summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-11 21:00:53 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-11 21:00:53 +0100
commit37c216695596f3976dfd8763243705509da1c224 (patch)
tree70d34e7014270750f81e3eaa97d5db763464db9b
parentd6dda023ad0d3d63c453f555c267f592d9a243a5 (diff)
downloadvyos-build-37c216695596f3976dfd8763243705509da1c224.tar.gz
vyos-build-37c216695596f3976dfd8763243705509da1c224.zip
Docker: T5076: unbloat container - remove dependencies for wide-dhcpv6
-rw-r--r--docker/Dockerfile8
-rw-r--r--packages/wide-dhcpv6/Jenkinsfile2
2 files changed, 1 insertions, 9 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index b317f868..7cde6dde 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -324,14 +324,6 @@ RUN if dpkg-architecture -iarm64; then \
grub-efi-arm; \
fi
-# Packages needed for wide-dhcpv6
-RUN apt-get update && apt-get install -y \
- bison \
- debhelper \
- flex \
- libfl-dev \
- rsync
-
# Packages needed for vyos-http-api-tools
RUN apt-get update && apt-get install -y \
dh-virtualenv \
diff --git a/packages/wide-dhcpv6/Jenkinsfile b/packages/wide-dhcpv6/Jenkinsfile
index a7418f3f..f6a58944 100644
--- a/packages/wide-dhcpv6/Jenkinsfile
+++ b/packages/wide-dhcpv6/Jenkinsfile
@@ -23,7 +23,7 @@ def pkgList = [
['name': 'wide-dhcpv6',
'scmCommit': 'debian/20080615-23',
'scmUrl': 'https://salsa.debian.org/debian/wide-dhcpv6',
- 'buildCmd': '''cd ..; ./build.sh'''],
+ 'buildCmd': 'sudo mk-build-deps --install --tool "apt-get --yes --no-install-recommends"; cd ..; ./build.sh'],
]
// Start package build using library function from https://github.com/vyos/vyos-build