We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66c256b commit 175e386Copy full SHA for 175e386
benchmarker/Dockerfile
@@ -1,10 +1,12 @@
1
FROM golang:1.22-alpine AS builder
2
RUN apk add --no-cache hdf5-dev gcc libc-dev python3 bash g++ musl-dev
3
+ENV CGO_CFLAGS="-I/usr/include"
4
+ENV CGO_LDFLAGS="-L/usr/lib -lhdf5 -lhdf5_hl"
5
WORKDIR /app
6
COPY . .
7
RUN CGO_ENABLED=1 go build -o benchmarker .
8
-FROM alpine:latest
9
+FROM golang:1.22-alpine
10
RUN apk add --no-cache hdf5-dev python3 bash
11
12
COPY --from=builder /app/benchmarker /app/benchmarker
0 commit comments