[IMP]Radicale on OL8, Rsync from C7 to OL7
This commit is contained in:
parent
887388c6e3
commit
b2ea4032e4
@ -1,4 +1,4 @@
|
|||||||
FROM centos:7
|
FROM oraclelinux:7
|
||||||
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
ENV SOURCE /var/lib/docker/volumes
|
ENV SOURCE /var/lib/docker/volumes
|
||||||
|
30
radicale/Dockerfile.ol
Normal file
30
radicale/Dockerfile.ol
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
FROM oraclelinux:8
|
||||||
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
|
# http://bugs.python.org/issue19846
|
||||||
|
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
|
||||||
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN dnf install -y python3 python3-pip
|
||||||
|
# Create radicale user
|
||||||
|
RUN useradd radicale -md /opt/radicale
|
||||||
|
WORKDIR /opt/radicale
|
||||||
|
USER radicale
|
||||||
|
|
||||||
|
# Install Radicale
|
||||||
|
# Was v2.1.9 because of regressions on v2.1.10+ on SSL handling, so no more included SSL ATM
|
||||||
|
# No v3 ATM : huge refactoring, whole plugin obsolete...
|
||||||
|
ENV VERSION 2.1.12
|
||||||
|
RUN pip3 install --user radicale==${VERSION}
|
||||||
|
COPY config .config/radicale/config
|
||||||
|
RUN mkdir /opt/radicale/storage
|
||||||
|
|
||||||
|
# Persistent storage for data and configuration
|
||||||
|
VOLUME /opt/radicale/storage
|
||||||
|
|
||||||
|
# TCP port of Radicale
|
||||||
|
EXPOSE 5232
|
||||||
|
|
||||||
|
# Run Radicale
|
||||||
|
CMD .local/bin/radicale --hosts 0.0.0.0:5232
|
@ -8,3 +8,8 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.c7
|
dockerfile: Dockerfile.c7
|
||||||
image: registry.yaltik.net/radicale:yaltikc7
|
image: registry.yaltik.net/radicale:yaltikc7
|
||||||
|
radicaleol:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.ol
|
||||||
|
image: registry.yaltik.net/radicale:yaltikol8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user