mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-12 14:08:40 +02:00
11 lines
283 B
Docker
11 lines
283 B
Docker
FROM alpine as builder
|
|
WORKDIR /build
|
|
RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison
|
|
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
|