Skip to content

Commit ee7c20e

Browse files
committed
build add image
1 parent 72ad45c commit ee7c20e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,13 @@ steps:
3131
id: library-generation-build
3232
waitFor: ["-"]
3333

34-
- name: gcr.io/cloud-builders/docker
34+
- name: ${_TEMP_TEST_IMAGE_ID}
3535
entrypoint: bash
3636
args:
3737
- "-c"
3838
- |
39-
docker build -t ${_TEST_IMAGE_ID} - << EOF
40-
FROM ${_TEMP_TEST_IMAGE_ID}
41-
RUN apk update && apk maven
42-
EOF
43-
env:
44-
- "DOCKER_BUILDKIT=1"
39+
apk update && apk maven
40+
DOCKER_BUILDKIT=1 docker build -t "${_TEST_IMAGE_ID}" .
4541
id: additional-deps
4642
waitFor: ["library-generation-build"]
4743

0 commit comments

Comments
 (0)