diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,10 +1,9 @@ FROM alpine as builder WORKDIR /build -RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison libevent-dev +RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison libevent-dev libevent-static COPY . . -RUN make clean gmid +RUN make static FROM alpine -RUN apk update && apk upgrade && apk add libressl +RUN apk update && apk upgrade COPY --from=builder /build/gmid /bin/gmid -ENTRYPOINT /bin/gmid |