Preserve libboost from boost-dev pkg. Fixes #16

This commit is contained in:
Christoph Wiechert 2018-11-09 11:13:41 +01:00
parent 1705504996
commit b38a93a21f
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
FROM alpine:3.7
MAINTAINER Christoph Wiechert <wio@psitrax.de>
ENV REFRESHED_AT="2018-11-08" \
ENV REFRESHED_AT="2018-11-09" \
POWERDNS_VERSION=4.1.5 \
MYSQL_AUTOCONF=true \
MYSQL_HOST="mysql" \
@ -25,7 +25,9 @@ RUN apk --update add libpq sqlite-libs libstdc++ libgcc mariadb-client mariadb-c
mkdir -p /etc/pdns/conf.d && \
addgroup -S pdns 2>/dev/null && \
adduser -S -D -H -h /var/empty -s /bin/false -G pdns -g pdns pdns 2>/dev/null && \
cp /usr/lib/libboost_program_options-mt.so* /tmp && \
apk del --purge build-deps && \
mv /tmp/libboost_program_options-mt.so* /usr/lib/ && \
rm -rf /tmp/pdns-$POWERDNS_VERSION /var/cache/apk/*
ADD schema.sql pdns.conf /etc/pdns/

View File

@ -14,7 +14,7 @@
## Supported tags
* Exact: i.e. `4.1.2-r1`: PowerDNS Version 4.1.2, image build 1
* Exact: i.e. `4.1.15-r1`: PowerDNS Version 4.1.15, image build 1
* `4.0`: PowerDNS Version 4.0.x, latest image build
* `4`: PowerDNS Version 4.x.x, latest image build