17 lines
617 B
Docker
17 lines
617 B
Docker
FROM ubuntu:noble
|
|
#ARG SOGO_VERSION="5.10.0"
|
|
|
|
RUN apt-get update && apt-get install -y apt-transport-https wget gnupg
|
|
RUN wget -O- "https://keys.openpgp.org/vks/v1/by-fingerprint/74FFC6D72B925A34B5D356BDF8A27B36A6E2EAE9" | gpg --dearmor | apt-key add -
|
|
COPY SOGo.list /etc/apt/sources.list.d/SOGo.list
|
|
RUN apt-get update && apt-get install -y sope4.9-gdl1-postgresql sogo
|
|
|
|
VOLUME /usr/lib/GNUstep/SOGo/WebServerResources
|
|
EXPOSE 20000
|
|
|
|
# setup user
|
|
RUN id -u sogo &>/dev/null || useradd sogo
|
|
USER sogo
|
|
|
|
CMD [ "sogod", "-WONoDetach", "YES", "-WOPort", "0.0.0.0:20000", "-WOLogFile", "-", "-WOPidFile", "/tmp/sogo.pid"]
|