aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 4615c4b..31213dc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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