diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-11 21:07:08 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-11 21:07:08 +0100 |
commit | 40e5b0510b2474aa4d4307692586a332f51e96ab (patch) | |
tree | db18b58a958de686c01284a58452bd641b545763 /docker | |
parent | 193c86f92a2c32e0cd111d4ce1c1507eaa337631 (diff) | |
download | vyos-build-40e5b0510b2474aa4d4307692586a332f51e96ab.tar.gz vyos-build-40e5b0510b2474aa4d4307692586a332f51e96ab.zip |
Docker: T5076: unbloat container - remove obsolete dh-exec package
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 85261b6c..530fc4a9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -103,9 +103,7 @@ RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \ grub2; \ fi -# # Building libvyosconf requires a full configured OPAM/OCaml setup -# RUN apt-get update && apt-get install -y \ debhelper \ libffi-dev \ @@ -119,7 +117,6 @@ RUN dpkg-reconfigure ca-certificates; \ echo "cacert=/etc/ssl/certs/ca-certificates.crt" >> ~/.curlrc; \ fi - # Installing OCAML needed to compile libvyosconfig RUN curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh \ --output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \ @@ -162,9 +159,7 @@ RUN apt-get update && apt-get install -y \ # Install open-vmdk RUN wget -O /tmp/open-vmdk-master.zip https://github.com/vmware/open-vmdk/archive/master.zip && \ unzip -d /tmp/ /tmp/open-vmdk-master.zip && \ - cd /tmp/open-vmdk-master/ && \ - make && \ - make install + cd /tmp/open-vmdk-master/ && make && make install # # live-build: building in docker fails with mounting /proc | /sys @@ -336,9 +331,6 @@ RUN git clone -b 4.4.6 https://github.com/perfsonar/i2util.git /tmp/i2util && \ dpkg-buildpackage -uc -us -tc -b && \ dpkg -i /tmp/*i2util*_$(dpkg-architecture -qDEB_HOST_ARCH).deb -RUN apt-get update && apt-get install -y \ - dh-exec - # Creating image for embedded systems needs this utilities to prepare a image file RUN apt-get update && apt-get install -y \ parted \ |