Skip to content

Commit 7489379

Browse files
committed
definition of ENV DCACHE_INSTALL_DIR moved up
1 parent ad032ce commit 7489379

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/tar/src/main/container/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ FROM almalinux:10-minimal
1717
COPY --from=builder /jlink-runtime /jlink-runtime
1818
RUN ln -s /jlink-runtime/bin/java /usr/bin/java
1919
# Copy both the agent and the cli
20+
ENV DCACHE_INSTALL_DIR=/opt/dcache
2021
COPY --from=builder /tmp/jacoco/lib/jacocoagent.jar ${DCACHE_INSTALL_DIR}/share/classes/jacocoagent.jar
2122
COPY --from=builder /tmp/jacoco/lib/jacococli.jar ${DCACHE_INSTALL_DIR}/share/classes/jacococli.jar
2223

23-
ENV DCACHE_INSTALL_DIR=/opt/dcache
24-
2524
# Neede by groupadd and useradd
2625
# REVISIT: in some environments base OS kernel doesnt allow use of xattrs and the installation of
2726
# shadow-utils fails.

0 commit comments

Comments
 (0)