summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-10 21:36:54 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-10 21:36:54 +0100
commit1af87a77494b448ad9933e7f347c430c2136efe2 (patch)
treec0cf42f3cceadd0d44a317e684db642f8e62f7b3
parentb92f35f17beedc6135436c4417b8d60bbd0bcbef (diff)
downloadvyos-build-1af87a77494b448ad9933e7f347c430c2136efe2.tar.gz
vyos-build-1af87a77494b448ad9933e7f347c430c2136efe2.zip
Docker: T5076: unbloat container - remove dependencies for dropbear
-rw-r--r--docker/Dockerfile7
-rw-r--r--packages/dropbear/Jenkinsfile4
2 files changed, 2 insertions, 9 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f81b86cb..8fc7b25b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -447,13 +447,6 @@ RUN apt-get update && apt-get install -y \
linux-libc-dev \
pkg-config
-# Packages needed for dropbear
-RUN apt-get update && apt-get install -y \
- debhelper-compat \
- libtomcrypt-dev \
- libtommath-dev \
- libz-dev
-
# Creating image for embedded systems needs this utilities to prepare a image file
RUN apt-get update && apt-get install -y \
parted \
diff --git a/packages/dropbear/Jenkinsfile b/packages/dropbear/Jenkinsfile
index 3a29c378..1716e873 100644
--- a/packages/dropbear/Jenkinsfile
+++ b/packages/dropbear/Jenkinsfile
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 VyOS maintainers and contributors
+// Copyright (C) 2022-2023 VyOS maintainers and contributors
//
// This program is free software; you can redistribute it and/or modify
// in order to easy exprort images built to "external" world
@@ -23,7 +23,7 @@ def pkgList = [
['name': 'dropbear',
'scmCommit': 'debian/2020.81-5',
'scmUrl': 'https://salsa.debian.org/debian/dropbear.git',
- '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