diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..f145ea939 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM nasqueron/docker-arcanist + +RUN apt-get update \ + && apt-get -y install g++ \ + && rm -rf /var/lib/apt/lists/* + +RUN /opt/libphutil/scripts/build_xhpast.php + diff --git a/Jenkinsfile b/Jenkinsfile index e5334a6e8..39728672f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,17 @@ pipeline { agent { - docker { - image 'nasqueron/arcanist:latest' + dockerfile { + additionalBuildArgs '--tag arcanist' } } stages { stage('arcanist-lint') { steps { sh 'arc lint --everything --severity error' } } stage('arcanist-unit') { steps { sh 'arc unit --everything' } } } }