add dnspython to docker image, add doc. #51

This commit is contained in:
edgd1er 2022-04-14 01:48:06 +02:00
parent 805c234e33
commit ddb99ddc1e
No known key found for this signature in database
GPG key ID: F7B8E0D6C867CCAE
3 changed files with 10 additions and 4 deletions

View file

@ -14,7 +14,7 @@ ENV LOGFILE STDOUT
ENV LOGSIZE ""
COPY ./py-kms /home/py-kms
#hadolint ignore=DL3013,DL3018
RUN apk add --no-cache --update \
bash \
git \
@ -28,7 +28,7 @@ RUN apk add --no-cache --update \
shadow \
netcat-openbsd \
build-base python3-dev \
&& pip3 install --no-cache peewee tzlocal pytz wheel \
&& pip3 install --no-cache-dir peewee tzlocal pytz wheel dnspython \
&& apk del git build-base python3-dev \
&& addgroup power_users \
&& adduser -S py-kms -G users -s /bin/bash \