Skip to content

Commit

Permalink
More debugging traces
Browse files Browse the repository at this point in the history
  • Loading branch information
gberche-orange committed Oct 19, 2024
1 parent 67547dc commit 23aa48d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ COPY go.mod Makefile ./
COPY ./cmd ./cmd

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

# ---

# See https://github.com/docker-library/golang/blob/89de06f6dd2c4edb29f33bb7270bdcc8000cf58a/1.23/alpine3.20/Dockerfile#L7C1-L7C17
FROM alpine:3.20
WORKDIR /app

RUN apk add --no-cache iperf3

COPY --from=builder /app/build /app/build
RUN /app/build/main -h || echo ignore error
RUN /app/build/main -h || echo ignore error during run container
CMD ["/app/build/main"]

0 comments on commit 23aa48d

Please sign in to comment.