-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from jburel/rocky9
Rocky9
- Loading branch information
Showing
6 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
FROM centos:centos7.9.2009@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 | ||
FROM rockylinux:9 | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV LANG en_US.utf-8 | ||
|
||
RUN mkdir /opt/setup | ||
WORKDIR /opt/setup | ||
ADD playbook.yml requirements.yml /opt/setup/ | ||
|
||
RUN yum -y install epel-release \ | ||
&& yum -y install ansible sudo \ | ||
&& ansible-galaxy install -p /opt/setup/roles -r requirements.yml \ | ||
&& yum -y clean all \ | ||
RUN dnf -y install epel-release | ||
RUN dnf install -y glibc-langpack-en | ||
ENV LANG en_US.utf-8 | ||
|
||
RUN dnf -y install ansible-core sudo | ||
RUN ansible-galaxy collection install ansible.posix | ||
RUN ansible-galaxy collection install community.general | ||
|
||
RUN ansible-galaxy install -p /opt/setup/roles -r requirements.yml \ | ||
&& dnf -y clean all \ | ||
&& rm -fr /var/cache | ||
|
||
RUN ansible-playbook playbook.yml \ | ||
&& yum -y clean all \ | ||
RUN ansible-playbook playbook.yml -e 'ansible_python_interpreter=/usr/bin/python3' \ | ||
&& dnf -y clean all \ | ||
&& rm -fr /var/cache | ||
|
||
|
||
RUN curl -L -o /usr/local/bin/dumb-init \ | ||
https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 && \ | ||
https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64 && \ | ||
chmod +x /usr/local/bin/dumb-init | ||
ADD entrypoint.sh /usr/local/bin/ | ||
ADD 50-config.py 60-default-web-config.sh 98-cleanprevious.sh 99-run.sh /startup/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
# External Ansible roles required by this repository | ||
|
||
- name: ome.basedeps | ||
version: 1.2.0 | ||
|
||
- src: ome.java | ||
version: 2.1.0 | ||
|
||
- src: ome.omero_common | ||
version: 0.3.4 | ||
version: 2.2.0 | ||
|
||
- name: ome.omero_web | ||
version: 4.0.1 | ||
version: 5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters