File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,11 @@ microdnf update
2424microdnf install boost1.78-devel automake libtool
2525microdnf clean all
2626rm -rf /var/cache/yum
27+ mkdir /opt/protobuf
28+ chown ${STACKABLE_USER_UID}:0 /opt/protobuf
2729EOF
2830
31+ USER ${STACKABLE_USER_UID}
2932# This Protobuf version is the exact version as used in the Hadoop Dockerfile
3033# See https://github.com/apache/hadoop/blob/trunk/dev-support/docker/pkg-resolver/install-protobuf.sh
3134# (this was hardcoded in the Dockerfile in earlier versions of Hadoop, make sure to look at the exact version in Github)
@@ -58,7 +61,6 @@ chmod -x "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar"
5861ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar
5962EOF
6063
61- USER ${STACKABLE_USER_UID}
6264WORKDIR /build
6365COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/patches/patchable.toml /build/src/hadoop/stackable/patches/patchable.toml
6466COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/patches/${PRODUCT} /build/src/hadoop/stackable/patches/${PRODUCT}
You can’t perform that action at this time.
0 commit comments