Add auth for runing in Kubernetes clusteer

This commit is contained in:
Priya Wadhwa 2018-03-09 15:41:53 -08:00
parent ae0ede8cc4
commit 2b7dec7849
No known key found for this signature in database
GPG Key ID: 0D0DAFD8F7AA73AE
3 changed files with 16 additions and 0 deletions

12
files/config.json Normal file
View File

@ -0,0 +1,12 @@
{
"auths": {
},
"credHelpers": {
"appengine.gcr.io": "gcr",
"asia.gcr.io": "gcr",
"eu.gcr.io": "gcr",
"gcr.io": "gcr",
"gcr.kubernetes.io": "gcr",
"us.gcr.io": "gcr"
}
}

BIN
files/docker-credential-gcr Executable file

Binary file not shown.

View File

@ -17,3 +17,7 @@
FROM scratch
ADD out/executor /kbuild/executor
ADD files/ca-certificates.crt /etc/ssl/certs/
ADD files/docker-credential-gcr /usr/local/bin/
ADD files/config.json /root/.docker/
ENV HOME /root
ENV PATH /usr/local/bin