Skip to content

Commit

Permalink
OM 7.1.0 was released
Browse files Browse the repository at this point in the history
  • Loading branch information
solomax committed May 10, 2023
1 parent 91eea28 commit 1fdc4a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
28 changes: 12 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,23 @@ 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.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.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
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# openmeetings-docker

Docker image for OM (version 7.0.0, WebRTC)
Docker image for OM (version 7.1.0, WebRTC)


### CREDENTIALS:
Expand All @@ -26,7 +26,7 @@ Docker image for OM (version 7.0.0, WebRTC)

### to run (full) OM:
```
docker run -i --rm --network host apache/openmeetings:7.0.0
docker run -i --rm --network host apache/openmeetings:7.1.0
```

### to run (mini) OM:
Expand All @@ -37,7 +37,7 @@ docker run -p 5443:5443 \
-e OM_DB_USER=db_user \
-e OM_DB_PASS=secret_pass \
--mount type=bind,source=/opt/omdata,target=/opt/omdata \
-it apache/openmeetings:min-7.0.0
-it apache/openmeetings:min-7.1.0
```
> Please Specify `TURN*` parameters in case users from other networks are expected
Expand Down Expand Up @@ -71,14 +71,14 @@ AUTH token as password
This version has no DB and Kurento server, both should be passed via environment
See below
```
docker build -t apache/openmeetings:min-7.0.0 .
docker push apache/openmeetings:min-7.0.0
docker build -t apache/openmeetings:min-7.1.0 .
docker push apache/openmeetings:min-7.1.0
```

### to build full:
```
docker build -t apache/openmeetings:7.0.0 --build-arg BUILD_TYPE=full .
docker push apache/openmeetings:7.0.0
docker build -t apache/openmeetings:7.1.0 --build-arg BUILD_TYPE=full .
docker push apache/openmeetings:7.1.0
```

### to run (full) OM (locally built):
Expand Down

0 comments on commit 1fdc4a8

Please sign in to comment.