Skip to content

Commit

Permalink
OM 8.0.0 was released
Browse files Browse the repository at this point in the history
  • Loading branch information
solomax committed Jan 4, 2025
1 parent 39c23f0 commit 7bcda8e
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM ubuntu:20.04
ENV OM_VER_MAJ='8'
ENV OM_VER_MIN='1'
ENV OM_VER_MIN='0'
ENV OM_VER_MIC='0'
ENV OM_VERSION="${OM_VER_MAJ}.${OM_VER_MIN}.${OM_VER_MIC}"
LABEL vendor="Apache OpenMeetings dev team"
Expand Down Expand Up @@ -66,28 +66,24 @@ RUN apt-get install -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
\
&& wget https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/lastSuccessfulBuild/artifact/openmeetings-server/target/apache-openmeetings-${OM_VERSION}-SNAPSHOT.tar.gz -O ${work}/om.tar.gz \
&& wget "https://archive.apache.org/dist/openmeetings/${OM_VERSION}/bin/apache-openmeetings-${OM_VERSION}.tar.gz" -O ${work}/om.tar.gz \
&& wget "https://archive.apache.org/dist/openmeetings/${OM_VERSION}/bin/apache-openmeetings-${OM_VERSION}.tar.gz.asc" -O ${work}/om.asc \
&& export GNUPGHOME="$(mktemp -d)" \
&& for server in hkp://ipv4.pool.sks-keyservers.net:80 \
hkp://ha.pool.sks-keyservers.net:80 \
hkp://pgp.mit.edu:80 \
hkp://keyserver.ubuntu.com:80 \
hkp://keyserver.pgp.com:80 \
; do \
gpg --keyserver "$server" --recv-keys 8456901E && break || echo "Trying new server..." \
; done \
&& gpg --batch --verify ${work}/om.asc ${work}/om.tar.gz \
&& tar -xzf ${work}/om.tar.gz --strip-components=1 -C ${OM_HOME}/ \
&& rm -rf ${work}/om.tar.gz \
&& rm -rf ${GNUPGHOME} ${work}/om.asc ${work}/om.tar.gz \
&& wget https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/${MYSQL_J_VER}/mysql-connector-j-${MYSQL_J_VER}.jar -P ${OM_HOME}/webapps/openmeetings/WEB-INF/lib \
&& wget https://repo1.maven.org/maven2/com/ibm/db2/jcc/${DB2_J_VER}/jcc-${DB2_J_VER}.jar -P ${OM_HOME}/webapps/openmeetings/WEB-INF/lib \
&& sed -i 's|<policy domain="coder" rights="none" pattern="PS" />|<!--policy domain="coder" rights="none" pattern="PS" />|g; s|<policy domain="coder" rights="none" pattern="XPS" />|<policy domain="coder" rights="none" pattern="XPS" /-->|g' /etc/ImageMagick-6/policy.xml

# && wget "https://archive.apache.org/dist/openmeetings/${OM_VERSION}/bin/apache-openmeetings-${OM_VERSION}.tar.gz" -O ${work}/om.tar.gz \
# && wget "https://archive.apache.org/dist/openmeetings/${OM_VERSION}/bin/apache-openmeetings-${OM_VERSION}.tar.gz.asc" -O ${work}/om.asc \
# && export GNUPGHOME="$(mktemp -d)" \
# && for server in hkp://ipv4.pool.sks-keyservers.net:80 \
# hkp://ha.pool.sks-keyservers.net:80 \
# hkp://pgp.mit.edu:80 \
# hkp://keyserver.ubuntu.com:80 \
# hkp://keyserver.pgp.com:80 \
# ; do \
# gpg --keyserver "$server" --recv-keys 8456901E && break || echo "Trying new server..." \
# ; done \
# && gpg --batch --verify ${work}/om.asc ${work}/om.tar.gz \
# && tar -xzf ${work}/om.tar.gz --strip-components=1 -C ${OM_HOME}/ \
# && rm -rf ${GNUPGHOME} ${work}/om.asc ${work}/om.tar.gz \

WORKDIR ${work}
COPY scripts/*.sh ./

Expand Down

0 comments on commit 7bcda8e

Please sign in to comment.