summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-09-16 16:51:14 +0100
committerGitHub <noreply@github.com>2024-09-16 16:51:14 +0100
commitd5adf5b36c51e811332d5566527c65647d275c5c (patch)
tree018d88f54db8eac64fa8f16870c303fdf8f95b8c /docker/Dockerfile
parent5255ad102a0df86ccc251c7a9bf51f798cb95bf8 (diff)
parenta26ef9e1700b3aa3885a7e0769a1672aa5f485dc (diff)
downloadvyos-build-d5adf5b36c51e811332d5566527c65647d275c5c.tar.gz
vyos-build-d5adf5b36c51e811332d5566527c65647d275c5c.zip
Merge pull request #758 from HollyGurza/T6684
T6684: new Debian package repo snapshot logic
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5cc8744e..576d1085 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -177,6 +177,18 @@ RUN wget -O /tmp/open-vmdk-master.zip https://github.com/vmware/open-vmdk/archiv
unzip -d /tmp/ /tmp/open-vmdk-master.zip && \
cd /tmp/open-vmdk-master/ && make && make install
+# Packages need for build live-build
+RUN apt-get update && apt-get install -y \
+ cpio
+
+COPY patches/live-build/0001-save-package-info.patch /tmp/0001-save-package-info.patch
+
+RUN git clone https://salsa.debian.org/live-team/live-build.git /tmp/live-build && \
+ cd /tmp/live-build && git checkout debian/1%20240810 && \
+ patch -p1 < /tmp/0001-save-package-info.patch && \
+ dch -n "Applying fix for save package info" && \
+ dpkg-buildpackage -us -uc && \
+ dpkg -i ../live-build*.deb
#
# live-build: building in docker fails with mounting /proc | /sys
#