diff options
-rw-r--r-- | .dockerignore | 5 | ||||
-rw-r--r-- | contrib/Dockerfile | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/.dockerignore b/.dockerignore index 6d290c9..f25eda7 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,9 @@ ** !*.c +!*.h +!*.y +!compat/*.c +!compat/*.h +!have/*.c !Makefile !configure diff --git a/contrib/Dockerfile b/contrib/Dockerfile index e70e19c..9d6a29d 100644 --- a/contrib/Dockerfile +++ b/contrib/Dockerfile @@ -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 |