This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch docker-build
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/docker-build by this push:
new 769db1e Uses slim image instead of alpine
769db1e is described below
commit 769db1e220ecf94fa1f4ae6ea43da3bbaba5594f
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Aug 29 08:56:08 2019 +0200
Uses slim image instead of alpine
---
Jenkinsfile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 832fa99..2f2ad59 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -23,9 +23,8 @@ pipeline {
stage('Docker build') {
agent {
docker {
- image 'maven:3-alpine'
+ image 'maven:3-jdk-8-slim'
args '-v $HOME/.m2:/root/.m2'
- args '-e JAVA_HOME=$JAVA_HOME'
args '-e MAVEN_OPTS=$MAVEN_OPTS'
}
}