File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ All notable changes to this project will be documented in this file.
2020- nifi: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1027 ] ).
2121- spark-k8s: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1042 ] ).
2222- Add ` --locked ` flag to ` cargo install ` commands for reproducible builds ([ #1044 ] ).
23+ - Fixed two hardcoded username references ([ #1052 ] )
2324
2425[ #1027 ] : https://github.com/stackabletech/docker-images/pull/1027
2526[ #1034 ] : https://github.com/stackabletech/docker-images/pull/1034
2627[ #1042 ] : https://github.com/stackabletech/docker-images/pull/1042
2728[ #1044 ] : https://github.com/stackabletech/docker-images/pull/1044
2829[ #1050 ] : https://github.com/stackabletech/docker-images/pull/1050
30+ [ #1052 ] : https://github.com/stackabletech/docker-images/pull/1052
2931
3032## [ 25.3.0] - 2025-03-21
3133
Original file line number Diff line number Diff line change 3535USER ${STACKABLE_USER_UID}
3636WORKDIR /stackable
3737
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}
4040
4141# Cache mounts are owned by root by default
4242# 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 88FROM stackable/image/stackable-base
99
1010ARG PRODUCT
11+ ARG STACKABLE_USER_UID
1112
1213# See: https://adoptium.net/en-gb/installation/linux/#_centosrhelfedora_instructions
1314RUN cat <<EOF > /etc/yum.repos.d/adoptium.repo
@@ -59,7 +60,7 @@ RUN microdnf update && \
5960
6061ENV JAVA_HOME="/usr/lib/jvm/temurin-${PRODUCT}-jdk"
6162
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
6364
6465# Mitigation for CVE-2021-44228 (Log4Shell)
6566# This variable is supported as of Log4j version 2.10 and
You can’t perform that action at this time.
0 commit comments