Skip to content

Commit dda06ca

Browse files
committed
debug: try path fix.
1 parent 95f92c4 commit dda06ca

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docker/build/movement/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ RUN adduser -u 1000 -D -s /bin/bash movement
2828
COPY --from=builder /tmp/build/target/release/movement /app/movement
2929
COPY --from=builder /tmp/runtime/nix/store /nix/store
3030

31-
# Build up runtime PATH from all bin directories in /nix/store
32-
RUN echo "export PATH=$(find /nix/store -type d -path '*/bin' | paste -sd: -):\$PATH" >> /etc/profile.d/nix-path.sh
31+
# Set up PATH to include all /nix/store/*/bin dirs
3332
ENV PATH="/nix/store:$(find /nix/store -type d -path '*/bin' | paste -sd: -):$PATH"
3433

3534
# Environment setup

docker/build/mtma/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ RUN adduser -u 1000 -D -s /bin/bash mtma
2727
COPY --from=builder /tmp/build/target/release/mtma /app/mtma
2828
COPY --from=builder /tmp/runtime/nix/store /nix/store
2929

30-
# Build up runtime PATH from all bin directories in /nix/store
31-
RUN echo "export PATH=$(find /nix/store -type d -path '*/bin' | paste -sd: -):\$PATH" >> /etc/profile.d/nix-path.sh
30+
# Set up PATH to include all /nix/store/*/bin dirs
3231
ENV PATH="/nix/store:$(find /nix/store -type d -path '*/bin' | paste -sd: -):$PATH"
3332

3433
# Environment setup

0 commit comments

Comments
 (0)