From 2e40cc5f126ff67cc078314b4079664e54941d85 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 26 Jul 2018 18:45:15 -0500 Subject: [PATCH] ci: Use Dockerfile to define build environment The basic Jenkins agent does not have the *python3-wheel* package installed, which is required to fetch the dependencies for this web application. Thus, a specific environment has to be defined that includes all of the required tools. --- ci/Dockerfile | 6 ++++++ ci/Jenkinsfile | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ci/Dockerfile diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 0000000..3544d1d --- /dev/null +++ b/ci/Dockerfile @@ -0,0 +1,6 @@ +FROM fedora + +RUN dnf install -y \ + openssh-clients \ + python3-wheel \ + rsync diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index c2d118c..68ec1db 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -1,5 +1,9 @@ pipeline { - agent any + agent { + dockerfile { + dir 'ci' + } + } triggers { pollSCM ''