managing your docker image continuously with concourse ci

21
‹#› © 2016 Pivotal Software, Inc. All rights reserved. Managing your Docker image continuously with Concourse CI Toshiaki Maki (@making) 2016-11-30 Concourse Meetup

Upload: toshiaki-maki

Post on 16-Apr-2017

284 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved. ‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Managing your Docker image continuously with Concourse CI

Toshiaki Maki (@making) 2016-11-30 Concourse Meetup

Page 2: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Who am I ?• Toshiaki Maki (@making) http://blog.ik.am

•Sr. Solutions Architect @Pivotal

•Spring Framework enthusiast

bit.ly/hajiboot2

Page 3: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

---platform: linuximage_resource: type: docker-image source: repository: java tag: 8-jdk-alpineinputs: - name: repooutputs: - name: outputrun: path: sh args: - repo/ci/tasks/build.sh

Page 4: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

---platform: linuximage_resource: type: docker-image source: repository: java tag: 8-jdk-alpineinputs: - name: repooutputs: - name: outputrun: path: sh args: - repo/ci/tasks/build.sh

Page 5: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

---platform: linuximage_resource: type: docker-image source: repository: making/alpine-java-bash-git tag: latestinputs: - name: repooutputs: - name: outputrun: path: sh args: - repo/ci/tasks/build.sh

Page 6: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

FROM openjdk:8-jdk-alpine

MAINTAINER Toshiaki Maki <[email protected]>

RUN apk upgradeRUN apk add --update \ bash \ git

making/alpine-java-bash-git

Page 7: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

FROM openjdk:8-jdk-alpine

MAINTAINER Toshiaki Maki <[email protected]>

RUN apk upgradeRUN apk add --update \ bash \ git

making/alpine-java-bash-git

Page 8: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 9: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 10: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Docker Resource

Page 11: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Docker Resource

Docker Resource

Page 12: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 13: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 14: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 15: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 16: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 17: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

FROM openjdk:8-jdk-alpine

MAINTAINER Toshiaki Maki <[email protected]>

RUN apk upgradeRUN apk add --update \ bash \ git \ tar \ zip

making/alpine-java-bash-git

Page 18: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

FROM openjdk:8-jdk-alpine

MAINTAINER Toshiaki Maki <[email protected]>

RUN apk upgradeRUN apk add --update \ bash \ git \ tar \ zip

making/alpine-java-bash-git

Page 19: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 20: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Page 21: Managing your Docker image continuously with Concourse CI

‹#›© 2016 Pivotal Software, Inc. All rights reserved.

Check pipeline.yml

https://github.com/making/alpine-java-bash-git