infra/docker/radicale/Dockerfile

17 lines
437 B
Text
Raw Normal View History

FROM alpine:edge
RUN adduser --uid 1009 --system radicale && \
addgroup --gid 1011 --system radicale && \
apk update && \
apk add --update --no-cache ca-certificates radicale
# Copy masked.name root cert
COPY files/MaskedName_Root_CA.crt /usr/local/share/ca-certificates/MaskedName_Root_CA.crt
COPY files/logging /etc/radicale/logging
# update ca certs
RUN update-ca-certificates 2>/dev/null
EXPOSE 5232
CMD ["radicale"]