File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1616# This stage installs all build dependencies and compiles all Python versions.
1717FROM marketplace.gcr.io/google/ubuntu2404 AS builder
1818
19- # Tell synthtool to pull templates from this docker image instead of from
20- # the live repo.
21- ENV SYNTHTOOL_TEMPLATES="/synthtool/synthtool/gcp/templates"
22-
2319RUN apt-get update && \
2420 apt-get install -y --no-install-recommends \
2521 # Essential for compiling C code
@@ -82,6 +78,10 @@ RUN git clone --depth 1 https://github.com/googleapis/synthtool.git synthtool
8278# necessary artifacts from the builder stage.
8379FROM marketplace.gcr.io/google/ubuntu2404
8480
81+ # Tell synthtool to pull templates from this docker image instead of from
82+ # the live repo.
83+ ENV SYNTHTOOL_TEMPLATES="/synthtool/synthtool/gcp/templates"
84+
8585# Install only the essential runtime libraries for Python.
8686# These are the non "-dev" versions of the libraries used in the builder.
8787RUN apt-get update && \
@@ -130,7 +130,4 @@ RUN chmod a+rx ./cli.py
130130COPY .generator/parse_googleapis_content.py .
131131RUN chmod a+rx ./parse_googleapis_content.py
132132
133- RUN mkdir -p /.cache/synthtool/synthtool
134- RUN find /.cache -type d -exec chmod a+x {} \;
135-
136133ENTRYPOINT ["python3.9" , "./cli.py" ]
You can’t perform that action at this time.
0 commit comments