Skip to content

Commit 6685b72

Browse files
authored
Merge pull request #75 from jburel/rocky9
Rocky9
2 parents 87b855b + cc49fa9 commit 6685b72

6 files changed

Lines changed: 35 additions & 29 deletions

File tree

Dockerfile

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,30 @@
1-
FROM centos:centos7.9.2009@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4
1+
FROM rockylinux:9
22
LABEL maintainer="ome-devel@lists.openmicroscopy.org.uk"
33

4-
ENV LANG en_US.utf-8
54

65
RUN mkdir /opt/setup
76
WORKDIR /opt/setup
87
ADD playbook.yml requirements.yml /opt/setup/
98

10-
RUN yum -y install epel-release \
11-
&& yum -y install ansible sudo \
12-
&& ansible-galaxy install -p /opt/setup/roles -r requirements.yml \
13-
&& yum -y clean all \
9+
RUN dnf -y install epel-release
10+
RUN dnf install -y glibc-langpack-en
11+
ENV LANG en_US.utf-8
12+
13+
RUN dnf -y install ansible-core sudo
14+
RUN ansible-galaxy collection install ansible.posix
15+
RUN ansible-galaxy collection install community.general
16+
17+
RUN ansible-galaxy install -p /opt/setup/roles -r requirements.yml \
18+
&& dnf -y clean all \
1419
&& rm -fr /var/cache
1520

16-
RUN ansible-playbook playbook.yml \
17-
&& yum -y clean all \
21+
RUN ansible-playbook playbook.yml -e 'ansible_python_interpreter=/usr/bin/python3' \
22+
&& dnf -y clean all \
1823
&& rm -fr /var/cache
1924

25+
2026
RUN curl -L -o /usr/local/bin/dumb-init \
21-
https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 && \
27+
https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64 && \
2228
chmod +x /usr/local/bin/dumb-init
2329
ADD entrypoint.sh /usr/local/bin/
2430
ADD 50-config.py 60-default-web-config.sh 98-cleanprevious.sh 99-run.sh /startup/

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ OMERO.web Docker
33

44
[![Actions Status](https://github.com/ome/omero-web-docker/workflows/Build/badge.svg)](https://github.com/ome/omero-web-docker/actions)
55

6-
A CentOS 7 based Docker image for OMERO.web.
6+
A RockyLinux 9 based Docker image for OMERO.web.
77

88
Also see [SUPPORT.md](./SUPPORT.md)
99

1010
Running OMERO with docker-compose
1111
---------------------------------
1212

13-
The [omero-deployment-examples repository](https://github.com/ome/omero-deployment-examples/) repository
13+
The [omero-deployment-examples repository](https://github.com/ome/omero-deployment-examples/) repository
1414
contains a number of different ways of deployment OMERO. Unless you are looking for something
1515
specific, *we suggest starting with [docker-example-omero](https://github.com/ome/docker-example-omero).*
1616

@@ -26,18 +26,19 @@ This image also includes these OMERO.web plugins with a default configuration:
2626
- [iviewer](https://www.openmicroscopy.org/omero/iviewer/)
2727
- [mapr](https://pypi.org/project/omero-mapr/)
2828
- [parade](https://pypi.org/project/omero-parade/)
29+
- [autotag](https://pypi.org/project/omero-autotag/)
30+
- [tagsearch](https://pypi.org/project/omero-webtagging-tagsearch)
2931

3032
The following plugins are installed but disabled:
3133
- [fpbioimage](https://pypi.org/project/omero-fpbioimage/)
32-
- [autotag](https://pypi.org/project/omero-webtagging-autotag/)
33-
- [tagsearch](https://pypi.org/project/omero-webtagging-tagsearch/)
34+
3435

3536
To enable them or to change the configuration of a default plugin see the relevant plugin documentation.
3637

3738

3839
To run the Docker image you can set a single OMERO.server to connect to by defining `OMEROHOST`:
3940

40-
docker run -d --name omero-web \
41+
docker run -d --name omero-web-standalone \
4142
-e OMEROHOST=omero.example.org \
4243
-p 4080:4080 \
4344
openmicroscopy/omero-web-standalone

playbook.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
- role: ome.omero_web
44
- role: ome.java
55
vars:
6-
ice_version: "3.6"
7-
ice_install_devel: False
8-
ice_install_python: False
9-
ice_python_wheel: https://github.com/ome/zeroc-ice-py-centos7/releases/download/0.1.0/zeroc_ice-3.6.4-cp27-cp27mu-linux_x86_64.whl
106
omero_web_systemd_setup: False
117
omero_web_setup_nginx: False
128
# These defaults can be overriden at runtime

requirements.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# External Ansible roles required by this repository
2-
3-
- name: ome.basedeps
4-
version: 1.2.0
5-
62
- src: ome.java
7-
version: 2.1.0
8-
9-
- src: ome.omero_common
10-
version: 0.3.4
3+
version: 2.2.0
114

125
- name: ome.omero_web
13-
version: 4.0.1
6+
version: 5.0.0

standalone/01-default-webapps.omero

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,15 @@ config append -- omero.web.mapr.config '{"menu": "anyvalue", "config":{"default"
2020
config append -- omero.web.apps '"omero_parade"'
2121
config append -- omero.web.ui.center_plugins '["Parade", "omero_parade/init.js.html", "omero_parade"]'
2222

23+
# Add autotag to webclient
24+
config append omero.web.apps '"omero_autotag"'
25+
config append omero.web.ui.center_plugins '["Auto Tag", "omero_autotag/auto_tag_init.js.html", "auto_tag_panel"]'
26+
27+
# Add tagsearch to webclient
28+
config append omero.web.apps '"omero_tagsearch"'
29+
30+
2331
# Top links
2432
config set -- omero.web.ui.top_links '[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}],["History", "history", {"title": "History"}], ["Mapr", {"viewname": "maprindex_anyvalue"}, {"title": "Find Any Value"}], ["Figure", "figure_index", {"title": "Open Figure in new tab", "target": "_blank"}], ["Help", "https://help.openmicroscopy.org/", {"title":"Open OMERO user guide in a new tab", "target":"new"}]]'
33+
34+
config append omero.web.ui.top_links '["Tag Search", "tagsearch"]'

standalone/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ RUN /opt/omero/web/venv3/bin/pip install \
1010
omero-fpbioimage \
1111
omero-mapr \
1212
omero-parade \
13-
omero-webtagging-autotag \
14-
omero-webtagging-tagsearch \
13+
omero-autotag \
14+
omero-tagsearch \
1515
whitenoise
1616

1717
ADD 01-default-webapps.omero /opt/omero/web/config/

0 commit comments

Comments
 (0)