File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3333USER ${STACKABLE_USER_UID}
3434WORKDIR /stackable
3535
36- COPY --chown=stackable :0 druid/stackable/patches/${PRODUCT} /stackable/src/druid/stackable/patches/${PRODUCT}
36+ COPY --chown=${STACKABLE_USER_UID} :0 druid/stackable/patches/${PRODUCT} /stackable/src/druid/stackable/patches/${PRODUCT}
3737
3838# Cache mounts are owned by root by default
3939# 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 @@ -10,15 +10,16 @@ ARG PRODUCT
1010ARG JMX_EXPORTER
1111ARG STACKABLE_USER_UID
1212
13- # Copy patches and JMX config into the builder
14- COPY --chown=${STACKABLE_USER_UID}:0 zookeeper/stackable /stackable
13+ # Copy patches into the builder
14+ COPY --chown=${STACKABLE_USER_UID}:0 zookeeper/stackable/patches/${PRODUCT} /stackable/src/zookeeper/stackable/patches/${PRODUCT}
15+ # Copy JMX config into the builder
16+ COPY --chown=${STACKABLE_USER_UID}:0 zookeeper/stackable/jmx /stackable/jmx
1517
1618USER ${STACKABLE_USER_UID}
1719WORKDIR /stackable
1820
1921# Download ZooKeeper sources from our own repo
20- RUN mkdir -p zookeeper/stackable && mv patches zookeeper/stackable/ && \
21- BUILD_SRC_DIR="$(/stackable/patchable --images-repo-root=. checkout zookeeper ${PRODUCT})" && \
22+ RUN BUILD_SRC_DIR="$(/stackable/patchable --images-repo-root=src checkout zookeeper ${PRODUCT})" && \
2223 cd "${BUILD_SRC_DIR}" && \
2324 # Exclude the `zookeeper-client` submodule, this is not needed and has c parts
2425 # that created all kinds of issues for the build container
You can’t perform that action at this time.
0 commit comments