Skip to content

Commit

Permalink
Add makisu example (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Nov 21, 2018
1 parent fe97e1e commit d4bb0e8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makisu/Dockerfile
@@ -0,0 +1,4 @@
FROM ubuntu

RUN apt-get update -y
RUN apt-get install -y ca-certificates #!COMMIT
5 changes: 5 additions & 0 deletions makisu/README.md
@@ -0,0 +1,5 @@
# Makisu

This directory contains an example of using [Uber's Makisu
tool](https://github.com/uber/makisu) to produce Docker images in
Google Cloud Build.
11 changes: 11 additions & 0 deletions makisu/cloudbuild.yaml
@@ -0,0 +1,11 @@
steps:
- name: gcr.io/makisu-project/makisu:v0.1.0
args: ['build', '--load', '--modifyfs=true', '-t', 'gcr.io/$PROJECT_ID/built-with-makisu', '--commit=explicit', '.']

# TODO: Instead of building with --load into the Docker daemon
# then pushing, use --push=gcr.io which will push directly to the
# registry and bypass the Docker daemon. Unfortunately, this seems
# to not work with Google's Application Default Credentials.

images:
- gcr.io/$PROJECT_ID/built-with-makisu

0 comments on commit d4bb0e8

Please sign in to comment.