File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ ARG JACKSON_DATAFORMAT_XML
7
7
ARG STAX2_API
8
8
ARG WOODSTOX_CORE
9
9
ARG AUTHORIZER
10
+ ARG STACKABLE_USER_UID
10
11
11
12
# Setting this to anything other than "true" will keep the cache folders around (e.g. for Maven, NPM etc.)
12
13
# This can be used to speed up builds when disk space is of no concern.
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ARG JMX_EXPORTER
8
8
ARG PROTOBUF
9
9
ARG TARGETARCH
10
10
ARG TARGETOS
11
+ ARG STACKABLE_USER_UID
11
12
12
13
USER ${STACKABLE_USER_UID}
13
14
WORKDIR /stackable
@@ -92,6 +93,7 @@ FROM stackable/image/java-devel AS hdfs-utils-builder
92
93
93
94
ARG HDFS_UTILS
94
95
ARG PRODUCT
96
+ ARG STACKABLE_USER_UID
95
97
96
98
USER ${STACKABLE_USER_UID}
97
99
WORKDIR /stackable
@@ -113,6 +115,7 @@ FROM stackable/image/java-base AS final
113
115
ARG PRODUCT
114
116
ARG RELEASE
115
117
ARG HDFS_UTILS
118
+ ARG STACKABLE_USER_UID
116
119
117
120
LABEL name="Apache Hadoop" \
118
121
maintainer="info@stackable.tech" \
173
176
174
177
COPY hadoop/licenses /licenses
175
178
176
- USER stackable
179
+ USER ${STACKABLE_USER_UID}
177
180
178
181
ENV HOME=/stackable
179
182
ENV LD_LIBRARY_PATH=/stackable/hadoop/lib/native:/usr/lib/jvm/jre/lib/server
You can’t perform that action at this time.
0 commit comments