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
24
24
microdnf install boost1.78-devel automake libtool
25
25
microdnf clean all
26
26
rm -rf /var/cache/yum
27
+ mkdir /opt/protobuf
28
+ chown ${STACKABLE_USER_UID}:0 /opt/protobuf
27
29
EOF
28
30
31
+ USER ${STACKABLE_USER_UID}
29
32
# This Protobuf version is the exact version as used in the Hadoop Dockerfile
30
33
# See https://github.com/apache/hadoop/blob/trunk/dev-support/docker/pkg-resolver/install-protobuf.sh
31
34
# (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"
58
61
ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar
59
62
EOF
60
63
61
- USER ${STACKABLE_USER_UID}
62
64
WORKDIR /build
63
65
COPY --chown=${STACKABLE_USER_UID}:0 hadoop/stackable/patches/patchable.toml /build/src/hadoop/stackable/patches/patchable.toml
64
66
COPY --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