docker: allow successful compiling of nio4r gem dependency

- now seems to need linux-headers, see https://github.com/socketry/nio4r/issues/225
This commit is contained in:
Christian Nicolai 2021-02-18 11:25:05 +01:00
parent dee9beb4e0
commit 920d82f073
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ ARG DYNDNSD_VERSION=3.3.0
RUN apk --no-cache add openssl ca-certificates && \
apk --no-cache add ruby ruby-etc ruby-io-console ruby-json ruby-webrick && \
apk --no-cache add --virtual .build-deps ruby-dev build-base tzdata && \
apk --no-cache add --virtual .build-deps linux-headers ruby-dev build-base tzdata && \
gem install --no-document dyndnsd -v ${DYNDNSD_VERSION} && \
# set timezone to Berlin
cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime && \