Skip to content

Commit

Permalink
Refine alpine:3.20 Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Oct 19, 2024
1 parent a3e86c8 commit 01b9979
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ RUN make build
FROM alpine:3.20
WORKDIR /app

RUN apk add --no-cache iperf3

COPY --from=builder /app/build /app/build
RUN apk add --no-cache file
RUN file /app/build/main
RUN apk add --no-cache ld
RUN ld /app/build/main

RUN /app/build/main -h || echo ignore error during run container

RUN apk add --no-cache iperf3
CMD ["/app/build/main"]

0 comments on commit 01b9979

Please sign in to comment.