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 @@ -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
7476RUN git clone --depth 1 https://github.com/googleapis/synthtool.git synthtool
@@ -98,7 +100,7 @@ RUN apt-get update && \
98100COPY --from=builder protoc/bin /usr/local/bin
99101COPY --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
102104COPY --from=builder synthtool /synthtool
103105
104106# Copy all Python interpreters, their pip executables, and their standard libraries from the builder.
You can’t perform that action at this time.
0 commit comments