‹#›© 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
© 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
© 2016 Pivotal Software, Inc. All rights reserved.
---
platform: linux
image_resource:
type: docker-image
source:
repository: java
tag: 8-jdk-alpine
inputs:
- name: repo
outputs:
- name: output
run:
path: sh
args:
- repo/ci/tasks/build.sh
© 2016 Pivotal Software, Inc. All rights reserved.
---
platform: linux
image_resource:
type: docker-image
source:
repository: java
tag: 8-jdk-alpine
inputs:
- name: repo
outputs:
- name: output
run:
path: sh
args:
- repo/ci/tasks/build.sh
© 2016 Pivotal Software, Inc. All rights reserved.
---
platform: linux
image_resource:
type: docker-image
source:
repository: making/alpine-java-bash-git
tag: latest
inputs:
- name: repo
outputs:
- name: output
run:
path: sh
args:
- repo/ci/tasks/build.sh
© 2016 Pivotal Software, Inc. All rights reserved.
FROM openjdk:8-jdk-alpine
MAINTAINER Toshiaki Maki <making@example.com>
RUN apk upgrade
RUN apk add --update 
bash 
git
making/alpine-java-bash-git
© 2016 Pivotal Software, Inc. All rights reserved.
FROM openjdk:8-jdk-alpine
MAINTAINER Toshiaki Maki <making@example.com>
RUN apk upgrade
RUN apk add --update 
bash 
git
making/alpine-java-bash-git
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
Docker Resource
© 2016 Pivotal Software, Inc. All rights reserved.
Docker Resource
Docker Resource
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
FROM openjdk:8-jdk-alpine
MAINTAINER Toshiaki Maki <making@example.com>
RUN apk upgrade
RUN apk add --update 
bash 
git 
tar 
zip
making/alpine-java-bash-git
© 2016 Pivotal Software, Inc. All rights reserved.
FROM openjdk:8-jdk-alpine
MAINTAINER Toshiaki Maki <making@example.com>
RUN apk upgrade
RUN apk add --update 
bash 
git 
tar 
zip
making/alpine-java-bash-git
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
© 2016 Pivotal Software, Inc. All rights reserved.
Check pipeline.yml
https://github.com/making/alpine-java-bash-git

Managing your Docker image continuously with Concourse CI

  • 1.
    ‹#›© 2016 PivotalSoftware, 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
  • 2.
    © 2016 PivotalSoftware, Inc. All rights reserved. Who am I ? • Toshiaki Maki (@making) http://blog.ik.am • Sr. Solutions Architect @Pivotal • Spring Framework enthusiast bit.ly/hajiboot2
  • 3.
    © 2016 PivotalSoftware, Inc. All rights reserved. --- platform: linux image_resource: type: docker-image source: repository: java tag: 8-jdk-alpine inputs: - name: repo outputs: - name: output run: path: sh args: - repo/ci/tasks/build.sh
  • 4.
    © 2016 PivotalSoftware, Inc. All rights reserved. --- platform: linux image_resource: type: docker-image source: repository: java tag: 8-jdk-alpine inputs: - name: repo outputs: - name: output run: path: sh args: - repo/ci/tasks/build.sh
  • 5.
    © 2016 PivotalSoftware, Inc. All rights reserved. --- platform: linux image_resource: type: docker-image source: repository: making/alpine-java-bash-git tag: latest inputs: - name: repo outputs: - name: output run: path: sh args: - repo/ci/tasks/build.sh
  • 6.
    © 2016 PivotalSoftware, Inc. All rights reserved. FROM openjdk:8-jdk-alpine MAINTAINER Toshiaki Maki <making@example.com> RUN apk upgrade RUN apk add --update bash git making/alpine-java-bash-git
  • 7.
    © 2016 PivotalSoftware, Inc. All rights reserved. FROM openjdk:8-jdk-alpine MAINTAINER Toshiaki Maki <making@example.com> RUN apk upgrade RUN apk add --update bash git making/alpine-java-bash-git
  • 8.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 9.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 10.
    © 2016 PivotalSoftware, Inc. All rights reserved. Docker Resource
  • 11.
    © 2016 PivotalSoftware, Inc. All rights reserved. Docker Resource Docker Resource
  • 12.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 13.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 14.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 15.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 16.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 17.
    © 2016 PivotalSoftware, Inc. All rights reserved. FROM openjdk:8-jdk-alpine MAINTAINER Toshiaki Maki <making@example.com> RUN apk upgrade RUN apk add --update bash git tar zip making/alpine-java-bash-git
  • 18.
    © 2016 PivotalSoftware, Inc. All rights reserved. FROM openjdk:8-jdk-alpine MAINTAINER Toshiaki Maki <making@example.com> RUN apk upgrade RUN apk add --update bash git tar zip making/alpine-java-bash-git
  • 19.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 20.
    © 2016 PivotalSoftware, Inc. All rights reserved.
  • 21.
    © 2016 PivotalSoftware, Inc. All rights reserved. Check pipeline.yml https://github.com/making/alpine-java-bash-git