Skip to content

Commit

Permalink
Add /app to the PATH
Browse files Browse the repository at this point in the history
This ensures that the Busybox compatible nc script is used instead of
ncat.

Signed-off-by: Stephen Kitt <[email protected]>
(cherry picked from commit 0e27d4d)
  • Loading branch information
skitt committed Dec 17, 2024
1 parent e700e4c commit 90adc9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/Dockerfile.nettest
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN /dnf_install -a ${TARGETPLATFORM} -v ${FEDORA_VERSION} -r /output/nettest \

FROM scratch
ARG TARGETPLATFORM
ENV PATH="/app:$PATH"

COPY --from=base /output/nettest /

Expand Down

0 comments on commit 90adc9b

Please sign in to comment.