Skip to content

Commit cbf83c1

Browse files
authored
chore(librarian): Pin synthtool (#14793)
Pin synthtool to commit [35313ccd8cdd2d12d2447ccdc497a7919aae1e3e](googleapis/synthtool@35313cc) to ensure that we're using a consistent version.
1 parent c0fe20b commit cbf83c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.generator/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ RUN mkdir pandoc-binary
7272
RUN wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz
7373
RUN tar -xvf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -C pandoc-binary --strip-components=1
7474

75-
# Download synthtool
76-
RUN git clone --depth 1 https://github.com/googleapis/synthtool.git synthtool
75+
# Pin synthtool for a more hermetic build
76+
RUN git clone https://github.com/googleapis/synthtool.git synthtool
77+
RUN cd synthtool && git checkout 35313ccd8cdd2d12d2447ccdc497a7919aae1e3e
7778

7879
# --- Final Stage ---
7980
# This stage creates the lightweight final image, copying only the

0 commit comments

Comments
 (0)