Testsuite: Move needed packages to Dockerfile insted of in the Jenkins pipeline

This commit is contained in:
Runar Borge 2019-09-27 21:49:30 +02:00
parent 21db26a3e7
commit 7e14af718d
2 changed files with 5 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -120,7 +120,6 @@ pipeline {
stage('Test') {
steps {
sh """
sudo apt-get update && sudo apt-get install -y python3-pexpect qemu-kvm
cd build/
sudo ../scripts/check-qemu-install --debug live-image-amd64.hybrid.iso
"""

View File

@ -280,6 +280,11 @@ RUN apt-get update && apt-get install -y \
python2.7-dev \
libmariadb-dev
# Packages needed for Qemu test-suite
RUN apt-get update && apt-get install -y \
python3-pexpect \
qemu-kvm
# Install packer
RUN export LATEST="$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packer | \
jq -r -M '.current_version')"; \