File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ All notable changes to this project will be documented in this file.
50
50
- spark-k8s: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1042 ] ).
51
51
- trino: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1025 ] ).
52
52
- zookeeper: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1043 ] ).
53
+ - Fixed two hardcoded username references ([ #1052 ] ).
53
54
54
55
[ #1025 ] : https://github.com/stackabletech/docker-images/pull/1025
55
56
[ #1027 ] : https://github.com/stackabletech/docker-images/pull/1027
@@ -64,6 +65,7 @@ All notable changes to this project will be documented in this file.
64
65
[ #1043 ] : https://github.com/stackabletech/docker-images/pull/1043
65
66
[ #1044 ] : https://github.com/stackabletech/docker-images/pull/1044
66
67
[ #1050 ] : https://github.com/stackabletech/docker-images/pull/1050
68
+ [ #1052 ] : https://github.com/stackabletech/docker-images/pull/1052
67
69
[ #1053 ] : https://github.com/stackabletech/docker-images/pull/1053
68
70
[ #1054 ] : https://github.com/stackabletech/docker-images/pull/1054
69
71
[ #1055 ] : https://github.com/stackabletech/docker-images/pull/1055
Original file line number Diff line number Diff line change 35
35
USER ${STACKABLE_USER_UID}
36
36
WORKDIR /stackable
37
37
38
- COPY --chown=stackable :0 druid/stackable/patches/apply_patches.sh /stackable/apache-druid-${PRODUCT}-src/patches/apply_patches.sh
39
- COPY --chown=stackable :0 druid/stackable/patches/${PRODUCT} /stackable/apache-druid-${PRODUCT}-src/patches/${PRODUCT}
38
+ COPY --chown=${STACKABLE_USER_UID} :0 druid/stackable/patches/apply_patches.sh /stackable/apache-druid-${PRODUCT}-src/patches/apply_patches.sh
39
+ COPY --chown=${STACKABLE_USER_UID} :0 druid/stackable/patches/${PRODUCT} /stackable/apache-druid-${PRODUCT}-src/patches/${PRODUCT}
40
40
41
41
# Cache mounts are owned by root by default
42
42
# We need to explicitly give the uid to use which is hardcoded to "1000" in stackable-base
Original file line number Diff line number Diff line change 8
8
FROM stackable/image/stackable-base
9
9
10
10
ARG PRODUCT
11
+ ARG STACKABLE_USER_UID
11
12
12
13
# See: https://adoptium.net/en-gb/installation/linux/#_centosrhelfedora_instructions
13
14
RUN cat <<EOF > /etc/yum.repos.d/adoptium.repo
@@ -59,7 +60,7 @@ RUN microdnf update && \
59
60
60
61
ENV JAVA_HOME="/usr/lib/jvm/temurin-${PRODUCT}-jdk"
61
62
62
- COPY --chown=stackable :0 java-devel/stackable/settings.xml /stackable/.m2/settings.xml
63
+ COPY --chown=${STACKABLE_USER_UID} :0 java-devel/stackable/settings.xml /stackable/.m2/settings.xml
63
64
64
65
# Mitigation for CVE-2021-44228 (Log4Shell)
65
66
# This variable is supported as of Log4j version 2.10 and
You can’t perform that action at this time.
0 commit comments