From 69791e67843c146ee9c9a978d9ced15108071cb3 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 | 7 +++++++ ci/Jenkinsfile | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ci/Dockerfile diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 0000000..0a096bf --- /dev/null +++ b/ci/Dockerfile @@ -0,0 +1,7 @@ +FROM fedora + +RUN dnf install -y \ + openssh-clients \ + python3-pip \ + 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 ''