File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,6 +212,22 @@ RUN curl -L -o hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.30
212212 && dpkg --install hugo.deb \
213213 && rm hugo.deb
214214
215+ # #####
216+ # Install Google Protobuf 3.7.1 (2.6.0 ships with Xenial)
217+ # Keep 2.5.0 as well, until 3.7.1 upgrade is complete.
218+ # #####
219+ # hadolint ignore=DL3003
220+ RUN mkdir -p /opt/protobuf-3.7-src \
221+ && curl -L -s -S \
222+ https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protobuf-java-3.7.1.tar.gz \
223+ -o /opt/protobuf-3.7.1.tar.gz \
224+ && tar xzf /opt/protobuf-3.7.1.tar.gz --strip-components 1 -C /opt/protobuf-3.7-src \
225+ && cd /opt/protobuf-3.7-src \
226+ && ./configure --prefix=/opt/protobuf-3.7 \
227+ && make install \
228+ && cd /root \
229+ && rm -rf /opt/protobuf-3.7-src
230+
215231# Add a welcome message and environment checks.
216232COPY hadoop_env_checks.sh /root/hadoop_env_checks.sh
217233RUN chmod 755 /root/hadoop_env_checks.sh
You can’t perform that action at this time.
0 commit comments