Merge branch 'master' of ssh://suricata.monotremata.xyz/dockerfiles

main
Ricard Illa 2021-02-26 17:44:10 +01:00
commit feebaeaf76
1 changed files with 9 additions and 5 deletions

View File

@ -1,11 +1,15 @@
FROM alpine:3.11 FROM alpine:3.13
RUN apk add --no-cache python3 su-exec && \ RUN apk add --no-cache python3 py3-pip su-exec && \
apk add --no-cache --virtual .build-deps py3-pip && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install vdirsyncer vdirsyncer[google] requests_oauthlib && \ pip3 install vdirsyncer vdirsyncer[google] requests_oauthlib && \
apk del .build-deps && \ addgroup --gid 10001 vdirsyncer && \
adduser -D -h /var/lib/vdirsyncer vdirsyncer && \ adduser \
--empty-password \
--home /var/lib/vdirsyncer \
--uid 10000 \
--ingroup vdirsyncer \
vdirsyncer && \
mkdir -p /var/lib/vdirsyncer/status /var/lib/vdirsyncer/tokens && \ mkdir -p /var/lib/vdirsyncer/status /var/lib/vdirsyncer/tokens && \
touch /var/lib/vdirsyncer/config && \ touch /var/lib/vdirsyncer/config && \
chown -R vdirsyncer:vdirsyncer /var/lib/vdirsyncer chown -R vdirsyncer:vdirsyncer /var/lib/vdirsyncer