fix the dockerfile

This commit is contained in:
Omar Polo 2021-07-11 20:58:42 +00:00
parent 02ccd9d940
commit 3b0eff06ff
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,9 @@
** **
!*.c !*.c
!*.h
!*.y
!compat/*.c
!compat/*.h
!have/*.c
!Makefile !Makefile
!configure !configure

View File

@ -1,6 +1,15 @@
FROM alpine as builder FROM alpine as builder
WORKDIR /build 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 . . COPY . .
RUN make static RUN make static