diff --git a/Dockerfile b/Dockerfile index 3457b11..dbc26c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ FROM tomcat:9.0.75-jre17 RUN apt update && apt install unzip -y && \ + wget --no-verbose -O /usr/local/tomcat/lib/postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.6.0.jar && \ wget --no-verbose -O /tmp/orbeon.zip "https://github.com/orbeon/orbeon-forms/releases/download/tag-release-2022.1-ce/orbeon-2022.1.202212310353-CE.zip" && \ cd /tmp && unzip orbeon.zip && \ mkdir deploy && cd deploy && \ unzip $(find .. -name orbeon.war) && \ mv /tmp/deploy /usr/local/tomcat/webapps/orbeon && \ rm -rf /tmp/orbeon.zip /tmp/deploy /var/cache/apt EXPOSE 8080 CMD ["catalina.sh", "run"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..e962a47 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +## Docker image for Orbeon Forms CE + +This image deploys Tomcat 9 with the Orbeon Forms CE war, +and PostgreSQL JDBC. +