blob: 4615c4b89ec19b7d82e7316d70307069f2dd15c2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
FROM alpine as builder
WORKDIR /build
RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison libevent-dev
COPY . .
RUN make clean gmid
FROM alpine
RUN apk update && apk upgrade && apk add libressl
COPY --from=builder /build/gmid /bin/gmid
ENTRYPOINT /bin/gmid
|