aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 31213dc9c33d3401df1ccf2609db46b399db8a62 (plain)
1
2
3
4
5
6
7
8
9
FROM alpine as builder
WORKDIR /build
RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison libevent-dev libevent-static
COPY . .
RUN make static

FROM alpine
RUN apk update && apk upgrade
COPY --from=builder /build/gmid /bin/gmid