Skip to content

Commit

Permalink
iperf3 missing from golang base image
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Oct 19, 2024
1 parent 5ff18e7 commit 275ca4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ RUN make build
FROM docker.io/golang:1.23.2@sha256:cc637ce72c1db9586bd461cc5882df5a1c06232fd5dfe211d3b32f79c5a999fc
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 275ca4f

Please sign in to comment.