summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-11-12 10:07:52 +0100
committerKim Hagen <kim.sidney@gmail.com>2018-11-12 10:07:52 +0100
commit8dcda0e05b0109e12280c446070b1fa94d0a6b4b (patch)
tree3229cfed4504037f0d141ec9a6625cdb8708880c /Dockerfile
parenta48a22a8113c0e98ed019c60b1f4c182550d3979 (diff)
downloadvyos-build-8dcda0e05b0109e12280c446070b1fa94d0a6b4b.tar.gz
vyos-build-8dcda0e05b0109e12280c446070b1fa94d0a6b4b.zip
Add uefi to vyos-build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 3f44b976..2cfc826d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,8 +39,15 @@ RUN echo 'deb http://ftp.debian.org/debian jessie-backports main' | tee -a /etc/
python3-lxml \
python3-setuptools \
python3-nose \
- python3-coverage \
- && rm -rf /var/lib/apt/lists/*
+ python3-coverage
+
+# Update live-build
+RUN echo 'deb http://ftp.debian.org/debian stretch main' | tee -a /etc/apt/sources.list.d/stretch.list &&\
+ apt-get update &&\
+ apt-get install -y -t stretch live-build &&\
+ rm -f /etc/apt/sources.list.d/stretch.list &&\
+ apt-get update &&\
+ rm -rf /var/lib/apt/lists/*
#install packer
RUN export LATEST="$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | \