File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 14
14
15
15
FROM BASEIMAGE as builder
16
16
17
+ # This image needs bash for running "migrate-if-needed.sh". Instead of a full debian image
18
+ # we use just the bash-static and we wrap bash-static into a distroless image instead of
19
+ # a full debian image
17
20
RUN apt-get update -y \
18
21
&& apt-get -yy -q install --no-install-recommends --no-install-suggests --fix-missing \
19
22
bash-static
Original file line number Diff line number Diff line change
1
+ # See https://cloud.google.com/cloud-build/docs/build-config
2
+ timeout : 1200s
3
+ options :
4
+ substitution_option : ALLOW_LOOSE
5
+ machineType : ' N1_HIGHCPU_8'
6
+ steps :
7
+ - name : ' gcr.io/k8s-testimages/gcb-docker-gcloud:v20200422-b25d964'
8
+ entrypoint : ' bash'
9
+ dir : ./cluster/images/etcd
10
+ env :
11
+ - DOCKER_CLI_EXPERIMENTAL=enabled
12
+ - REGISTRY=gcr.io/$PROJECT_ID
13
+ - PUSH_REGISTRY=gcr.io/$PROJECT_ID
14
+ - IMAGE=gcr.io/$PROJECT_ID/etcd
15
+ - BUILD_IMAGE=debian-build
16
+ - TMPDIR=/workspace
17
+ args :
18
+ - ' -c'
19
+ - |
20
+ gcloud auth configure-docker \
21
+ && docker run --rm --privileged linuxkit/binfmt:4ea3b9b0938cbd19834c096aa31ff475cc75d281 \
22
+ && make all-push
You can’t perform that action at this time.
0 commit comments