mirror of https://github.com/omar-polo/gmid.git
fix the dockerfile
This commit is contained in:
parent
02ccd9d940
commit
3b0eff06ff
|
@ -1,4 +1,9 @@
|
|||
**
|
||||
!*.c
|
||||
!*.h
|
||||
!*.y
|
||||
!compat/*.c
|
||||
!compat/*.h
|
||||
!have/*.c
|
||||
!Makefile
|
||||
!configure
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
FROM alpine as builder
|
||||
WORKDIR /build
|
||||
RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev bison libevent-dev libevent-static
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main \
|
||||
alpine-sdk \
|
||||
linux-headers \
|
||||
bison \
|
||||
libretls-dev \
|
||||
libretls-static \
|
||||
libevent-dev \
|
||||
libevent-static
|
||||
COPY . .
|
||||
RUN make static
|
||||
|
||||
|
|
Loading…
Reference in New Issue