Skip to content

Commit

Permalink
Correct PATH for scratch-based Docker runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
albertnis committed Apr 30, 2020
1 parent e147388 commit 3dec253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ FROM scratch as export
COPY --from=build /project/bin/mqcontrol /mqcontrol

FROM --platform=$TARGETPLATFORM $TARGETIMAGE AS runtime
COPY --from=build /project/bin/mqcontrol /bin
COPY --from=build /project/bin /bin

ENV PATH="/bin:${PATH}"
ENV PATH "$PATH:/bin"

ENTRYPOINT ["mqcontrol"]

0 comments on commit 3dec253

Please sign in to comment.