Skip to content

Commit

Permalink
Set the work directory for the nettest image
Browse files Browse the repository at this point in the history
subctl expects "cat version" to work without changing directories, so
the work directory needs to be set to /app.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
  • Loading branch information
skitt authored and tpantelis committed Jan 10, 2025
1 parent 31d9b7a commit f97ed8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/Dockerfile.nettest
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ ARG TARGETPLATFORM
ARG VERSION
ENV PATH="/app:$PATH"

WORKDIR /app

COPY --from=base /output/nettest /

COPY scripts/nettest/* /app/
Expand Down

0 comments on commit f97ed8c

Please sign in to comment.