Skip to content

Commit 435f822

Browse files
authored
chore(librarian): bump pandoc dependency (#14725)
https://github.com/jgm/pandoc/releases/tag/3.8.2
1 parent ec7497a commit 435f822

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.generator/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ RUN unzip protoc-25.3-linux-x86_64.zip -d protoc
6767

6868
# Download/extract pandoc
6969
# Pandoc is required by gapic-generator-python for parsing documentation
70-
RUN wget https://github.com/jgm/pandoc/releases/download/3.7.0.2/pandoc-3.7.0.2-linux-amd64.tar.gz
71-
RUN tar -xvf pandoc-3.7.0.2-linux-amd64.tar.gz
70+
ENV PANDOC_VERSION=3.8.2
71+
RUN mkdir pandoc-binary
72+
RUN wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz
73+
RUN tar -xvf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -C pandoc-binary --strip-components=1
7274

7375
# Download synthtool
7476
RUN git clone --depth 1 https://github.com/googleapis/synthtool.git synthtool
@@ -98,7 +100,7 @@ RUN apt-get update && \
98100
COPY --from=builder protoc/bin /usr/local/bin
99101
COPY --from=builder protoc/include /usr/local/include
100102

101-
COPY --from=builder pandoc-3.7.0.2/bin /usr/local/bin
103+
COPY --from=builder pandoc-binary/bin /usr/local/bin
102104
COPY --from=builder synthtool /synthtool
103105

104106
# Copy all Python interpreters, their pip executables, and their standard libraries from the builder.

0 commit comments

Comments
 (0)