Skip to content

Commit

Permalink
removed docker proxy and updated jenkins pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrieger-xl authored and deepu105 committed Dec 19, 2018
1 parent 6a8ecc1 commit 304b9c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
29 changes: 1 addition & 28 deletions docker-compose/xebialabs/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,4 @@ services:
- DOCKER_PASS=${DOCKER_PASS}
ports:
- 8080:8080
- 55888:55888

dockerproxy:
image: tecnativa/docker-socket-proxy:latest
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment: # warning this potentially opens up a security hole :)
- AUTH=1
- BUILD=1
- COMMIT=1
- CONTAINERS=1
- EVENTS=1
- EXEC=1
- IMAGES=1
- INFO=1
- NETWORKS=1
- NODES=1
- PING=1
- PLUGINS=1
- POST=1
- SECRETS=1
- SERVICES=1
- SWARM=1
- SYSTEM=1
- TASKS=1
- VERSION=1
- VOLUMES=1
- 55888:55888
2 changes: 1 addition & 1 deletion store/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pipeline {
stage ("build docker") {
sh "cp -R store/src/main/docker store/build/"
sh "cp store/build/libs/*.war store/build/docker/"
dockerImage = docker.build('xebialabsunsupported/ecommerce-store', 'store/build/docker')
dockerImage = docker.build('<your-dockerhub-user>/ecommerce-store', 'store/build/docker')
}
stage ("publish docker") {
docker.withRegistry('https://index.docker.io/v1/', 'docker-login') {
Expand Down

0 comments on commit 304b9c8

Please sign in to comment.