Skip to content

Commit 4411137

Browse files
committed
Update comment
1 parent e143131 commit 4411137

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

druid/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ ln -s /stackable/apache-druid-${PRODUCT} /stackable/druid
120120
# Force to overwrite the existing 'run-druid'
121121
ln -sf /stackable/bin/run-druid /stackable/druid/bin/run-druid
122122

123-
# All files and folders owned by root to support running as arbitrary users
124-
# This is best practice as all container users will belong to the root group (0)
123+
# All files and folders owned by root group to support running as arbitrary users.
124+
# This is best practice as all container users will belong to the root group (0).
125125
chown -R ${STACKABLE_USER_UID}:0 /stackable
126126
chmod -R g=u /stackable
127127
EOF

hadoop/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ find . -name 'hadoop-*tests.jar' -type f -delete
169169
# It is so non-root users (as we are) can mount a FUSE device and let other users access it
170170
echo "user_allow_other" > /etc/fuse.conf
171171

172-
# All files and folders owned by root to support running as arbitrary users
173-
# This is best practice as all container users will belong to the root group (0)
172+
# All files and folders owned by root group to support running as arbitrary users.
173+
# This is best practice as all container users will belong to the root group (0).
174174
chown -R ${STACKABLE_USER_UID}:0 /stackable
175175
chmod -R g=u /stackable
176176
EOF

hbase/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ ln --symbolic --logical --verbose "/stackable/hbase-${PRODUCT}" /stackable/hbase
354354
ln --symbolic --logical --verbose "/stackable/hbase-operator-tools-${HBASE_OPERATOR_TOOLS}" /stackable/hbase-operator-tools
355355
ln --symbolic --logical --verbose "/stackable/phoenix/phoenix-server-hbase-${HBASE_PROFILE}.jar" "/stackable/hbase/lib/phoenix-server-hbase-${HBASE_PROFILE}.jar"
356356

357-
# All files and folders owned by root to support running as arbitrary users
358-
# This is best practice as all container users will belong to the root group (0)
357+
# All files and folders owned by root group to support running as arbitrary users.
358+
# This is best practice as all container users will belong to the root group (0).
359359
chown -R ${STACKABLE_USER_UID}:0 /stackable
360360
chmod -R g=u /stackable
361361
EOF

hello-world/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ rm -rf /var/cache/yum
2222

2323
curl "https://repo.stackable.tech/repository/packages/hello-world/hello-world-${PRODUCT}.jar" -o /stackable/hello-world.jar
2424

25-
# All files and folders owned by root to support running as arbitrary users
26-
# This is best practice as all container users will belong to the root group (0)
25+
# All files and folders owned by root group to support running as arbitrary users.
26+
# This is best practice as all container users will belong to the root group (0).
2727
chown -R ${STACKABLE_USER_UID}:0 /stackable
2828
chmod -R g=u /stackable
2929
EOF

hive/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ cp /stackable/hadoop/share/hadoop/tools/lib/hadoop-azure-${HADOOP}.jar /stackabl
133133
cp /stackable/hadoop/share/hadoop/tools/lib/azure-storage-${AZURE_STORAGE}.jar /stackable/hive-metastore/lib/
134134
cp /stackable/hadoop/share/hadoop/tools/lib/azure-keyvault-core-${AZURE_KEYVAULT_CORE}.jar /stackable/hive-metastore/lib/
135135

136-
# All files and folders owned by root to support running as arbitrary users
137-
# This is best practice as all container users will belong to the root group (0)
136+
# All files and folders owned by root group to support running as arbitrary users.
137+
# This is best practice as all container users will belong to the root group (0).
138138
chown -R ${STACKABLE_USER_UID}:0 /stackable
139139
chmod -R g=u /stackable
140140
EOF

kafka/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ ln -s /stackable/bin/kcat-${KCAT} /stackable/bin/kcat
7878
ln -s /stackable/bin/kcat /stackable/kcat
7979
ln -s /stackable/kafka_${SCALA}-${PRODUCT} /stackable/kafka
8080

81-
# All files and folders owned by root to support running as arbitrary users
82-
# This is best practice as all container users will belong to the root group (0)
81+
# All files and folders owned by root group to support running as arbitrary users.
82+
# This is best practice as all container users will belong to the root group (0).
8383
chown -R ${STACKABLE_USER_UID}:0 /stackable
8484
chmod -R g=u /stackable
8585
EOF

nifi/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ pip install --no-cache-dir nipyapi==0.19.1 && \
123123
# This can be removed once older versions / operators using this are no longer supported
124124
ln -s /stackable/stackable-bcrypt.jar /bin/stackable-bcrypt.jar
125125

126-
# All files and folders owned by root to support running as arbitrary users
127-
# This is best practice as all container users will belong to the root group (0)
126+
# All files and folders owned by root group to support running as arbitrary users.
127+
# This is best practice as all container users will belong to the root group (0).
128128
chown -R ${STACKABLE_USER_UID}:0 /stackable
129129
chmod -R g=u /stackable
130130
EOF

omid/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ rm /stackable/omid-tso-server/conf/hbase-site.xml
9595
# To support arbitrary user ids on OpenShift, this folder must belong to the root group.
9696
mkdir /stackable/logs
9797

98-
# All files and folders owned by root to support running as arbitrary users
99-
# This is best practice as all container users will belong to the root group (0)
98+
# All files and folders owned by root group to support running as arbitrary users.
99+
# This is best practice as all container users will belong to the root group (0).
100100
chown -R ${STACKABLE_USER_UID}:0 /stackable
101101
chmod -R g=u /stackable
102102
EOF

opa/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ microdnf install \
112112
microdnf clean all
113113
rm -rf /var/cache/yum
114114

115-
# All files and folders owned by root to support running as arbitrary users
116-
# This is best practice as all container users will belong to the root group (0)
115+
# All files and folders owned by root group to support running as arbitrary users.
116+
# This is best practice as all container users will belong to the root group (0).
117117
chown -R ${STACKABLE_USER_UID}:0 /stackable
118118
chmod -R g=u /stackable
119119
EOF

spark-k8s/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/j
322322
# Symlink example jar, so that we can easily use it in tests
323323
ln -s /stackable/spark/examples/jars/spark-examples_*.jar /stackable/spark/examples/jars/spark-examples.jar
324324

325-
# All files and folders owned by root to support running as arbitrary users
326-
# This is best practice as all container users will belong to the root group (0)
325+
# All files and folders owned by root group to support running as arbitrary users.
326+
# This is best practice as all container users will belong to the root group (0).
327327
chown -R ${STACKABLE_USER_UID}:0 /stackable
328328
chmod -R g=u /stackable
329329
EOF

0 commit comments

Comments
 (0)