Sign inSign up
xwiki logo

xwiki:lts-postgres

Multi-platform
Also known as:
17-postgres-tomcat
17.10-postgres-tomcat
17.10.14-postgres-tomcat
lts-postgres-tomcat
Content management system
Index digest

sha256:0e18b1ad69c0f06db8990f122b4c9e43d9e8fdb63f439e0fbd80e2e2b3f62694

OS/ARCH

Compressed size

744.54 MB

Last pushed

about 12 hours by doijanky

Type

Image

Vulnerabilities

4
15
4
4
0

Manifest digest

sha256:eee659ac64bb2885cd86e09d7b2aef41d60719fd175ae6c8664c40b4068044dd

Layers (63)

tomcat:53f5aee2812b5f6bef45dafb312c94f0dab024659c519e6d30b6ed81a5d6368e
2
9
2
0
0
xwiki:lts-postgres
2
6
2
4
0

31

LABEL org.opencontainers.image.authors=XWiki Development Team <[email protected]>

0 B


32

LABEL org.opencontainers.image.url=https://hub.docker.com/_/xwiki

0 B


33

LABEL org.opencontainers.image.documentation=https://hub.docker.com/_/xwiki

0 B


34

LABEL org.opencontainers.image.source=https://github.com/xwiki/xwiki-docker.git

0 B


35

LABEL org.opencontainers.image.vendor=xwiki.org

0 B


36

LABEL org.opencontainers.image.licenses=LGPL-2.1

0 B


37

RUN /bin/sh -c set -eux; apt-get update; apt-get --no-install-recommends -y install curl unzip procps libxtst6 libxi6 libxinerama1 libdbus-glib-1-2 libcairo2 libcups2 libsm6 libx11-xcb1 libnss3 libxml2-dev libxslt1.1; rm -rf /var/lib/apt/lists/* # buildkit

14.54 MB


38

ENV CURL_OPTIONS=-fSL --retry 5 --retry-all-errors --retry-delay 5 --connect-timeout 30

0 B


39

ENV LIBREOFFICE_VERSION=26.2.6

0 B


40

ENV LIBREOFFICE_SHA256_AMD64=fd0e8f8f2408dd2e5b90286e60f3f97cf566ba441cd48cfc5bcc68067303e0bc

0 B


41

ENV LIBREOFFICE_SHA256_ARM64=f8e8b1d30abde0d530d727ce1b26909ccbedc3d76bcf75d93b3dd5fcd5b8d278

0 B


42

ENV LIBREOFFICE_URL_PREFIX=https://download.documentfoundation.org/libreoffice/stable/26.2.6/deb

0 B


43

RUN /bin/sh -c set -eux; LO_ARCH="$(dpkg --print-architecture)"; case "$LO_ARCH" in amd64) LO_ARCH_DIR=x86_64; LO_ARCH_FILE=x86-64; LO_SHA256=$LIBREOFFICE_SHA256_AMD64 ;; arm64) LO_ARCH_DIR=aarch64; LO_ARCH_FILE=aarch64; LO_SHA256=$LIBREOFFICE_SHA256_ARM64 ;; *) echo "Unsupported architecture [$LO_ARCH] for the LibreOffice installation" >&2; exit 1 ;; esac; LO_ARCHIVE="LibreOffice_${LIBREOFFICE_VERSION}_Linux_${LO_ARCH_FILE}_deb.tar.gz"; curl $CURL_OPTIONS "${LIBREOFFICE_URL_PREFIX}/${LO_ARCH_DIR}/${LO_ARCHIVE}" -o /tmp/libreoffice.tar.gz; echo "$LO_SHA256 */tmp/libreoffice.tar.gz" | sha256sum --strict -c -; mkdir -p /tmp/libreoffice; tar -C /tmp/libreoffice -xf /tmp/libreoffice.tar.gz; dpkg -i /tmp/libreoffice/LibreOffice_${LIBREOFFICE_VERSION}*_Linux_*_deb/DEBS/*.deb; ln -fns "/opt/libreoffice${LIBREOFFICE_VERSION%.*}" /opt/libreoffice; test -x /opt/libreoffice/program/soffice; rm -rf /tmp/libreoffice /tmp/libreoffice.tar.gz # buildkit

303.62 MB


44

ENV XWIKI_VERSION=17.10.14

0 B


45

ENV XWIKI_URL_PREFIX=https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/17.10.14

0 B


46

ENV XWIKI_DOWNLOAD_SHA256=dced6dae8c9f0e02866bdf6550e3d29cef52e626c63f68ea3de297eb3c284abc

0 B


47

RUN /bin/sh -c set -eux; rm -rf /usr/local/tomcat/webapps/*; mkdir -p /usr/local/tomcat/temp; mkdir -p /usr/local/xwiki/data; curl $CURL_OPTIONS "${XWIKI_URL_PREFIX}/xwiki-platform-distribution-war-${XWIKI_VERSION}.war" -o xwiki.war; echo "$XWIKI_DOWNLOAD_SHA256 *xwiki.war" | sha256sum --strict -c -; unzip -d /usr/local/tomcat/webapps/ROOT xwiki.war; rm -f xwiki.war # buildkit

331.35 MB


48

ENV POSTGRES_JDBC_VERSION=42.7.14

0 B


49

ENV POSTGRES_JDBC_SHA256=73914527305a40cce504b0d3d90b23caf565136912d607ae8ae7c5895512332c

0 B


50

ENV POSTGRES_JDBC_PREFIX=https://repo1.maven.org/maven2/org/postgresql/postgresql/42.7.14

0 B


51

ENV POSTGRES_JDBC_ARTIFACT=postgresql-42.7.14.jar

0 B


52

ENV POSTGRES_JDBC_TARGET=/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/postgresql-42.7.14.jar

0 B


53

RUN /bin/sh -c set -eux; curl $CURL_OPTIONS "${POSTGRES_JDBC_PREFIX}/${POSTGRES_JDBC_ARTIFACT}" -o $POSTGRES_JDBC_TARGET; echo "$POSTGRES_JDBC_SHA256 *$POSTGRES_JDBC_TARGET" | sha256sum --strict -c - # buildkit

1.14 MB


54

COPY tomcat/setenv.sh /usr/local/tomcat/bin/ # buildkit

1.84 KB


55

COPY xwiki/hibernate.cfg.xml /usr/local/tomcat/webapps/ROOT/WEB-INF/hibernate.cfg.xml # buildkit

2.56 KB


56

COPY xwiki/logback-filelog-appender.xml xwiki/logback-filelog-ref.xml /tmp/ # buildkit

876 B


57

RUN /bin/sh -c set -eux; LOGBACK=/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/logback.xml; sed -e '/<configuration/r /tmp/logback-filelog-appender.xml' -e '/ref="stdout"/r /tmp/logback-filelog-ref.xml' "$LOGBACK" > "$LOGBACK.new"; mv "$LOGBACK.new" "$LOGBACK"; rm -f /tmp/logback-filelog-appender.xml /tmp/logback-filelog-ref.xml # buildkit

2.45 KB


58

RUN /bin/sh -c sed -i 's/<id>org.xwiki.platform:xwiki-platform-distribution-war</<id>org.xwiki.platform:xwiki-platform-distribution-docker</' /usr/local/tomcat/webapps/ROOT/META-INF/extension.xed # buildkit

11.02 KB


59

COPY xwiki/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit

4.25 KB


60

VOLUME [/usr/local/xwiki]

0 B


61

ENTRYPOINT ["docker-entrypoint.sh"]

0 B


62

CMD ["xwiki"]

0 B