Skip to content
Browse files

Add a Dockerfile to build the builder

Our Gradle build now requires three programs to build: Java, npm and gcloud. There are no existing images that contain all of them. Even if there were, they probably come from some random Joe on the Internet and we cannot trust the image to be free of malwares. Therefore we need to build our own builder.

The builder images will be built by Cloud Build and upload to our container registry. We should periodically rebuild it to pull in the latest security updates both for the base Ubuntu image, and for the components that we install. I have not figured out a way to do that yet. For now we'll just trigger Cloud Build manually once in a while.

Created by MOE:
  • Loading branch information...
jianglai committed Feb 14, 2019
1 parent 063197f commit 23ee5b21ecfdf6b730e94daf0d9b5e3353ca3c22
Showing with 1 addition and 1 deletion.
  1. +1 −1 cloudbuild-nomulus.yaml
@@ -23,7 +23,7 @@ steps:
- name: 'alpine'
args: ['sh', '-c', 'cp -r nomulus-internal/* .']
# Build the deployment files.
- name: 'google/cloud-sdk'
- name: '${PROJECT_ID}/builder'
- './gradlew'
- 'stage'

0 comments on commit 23ee5b2

Please sign in to comment.
You can’t perform that action at this time.