File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -160,13 +160,15 @@ python hermetic_build/library_generation/cli/entry_point.py generate \
1601601 . Run the following command to build the image from source
161161
162162 ``` shell
163- docker build \
163+ DOCKER_BUILDKIT=1 docker build \
164164 -f .cloudbuild/library_generation/library_generation.Dockerfile \
165165 -t local:image-tag \
166166 .
167167 ```
168+ Please note that the build only works when using the new
169+ [ Docker BuildKit] ( https://docs.docker.com/build/buildkit/ ) (enabled through the ` DOCKER_BUILDKIT ` variable).
168170
169- 2 . Set the version of gapic-generator-java
171+ 3 . Set the version of gapic-generator-java
170172
171173 ``` shell
172174 LOCAL_GENERATOR_VERSION=$( mvn \
@@ -177,7 +179,7 @@ python hermetic_build/library_generation/cli/entry_point.py generate \
177179 -q)
178180 ```
179181
180- 3 . Run the image
182+ 4 . Run the image
181183
182184 ``` shell
183185 # Assume you want to generate the library in the current working directory
You can’t perform that action at this time.
0 commit comments