File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1- ARG BASE_IMAGE=ghcr.io/ bioconductor/bioconductor_docker
2- ARG TAG=3.20
1+ ARG BASE_IMAGE=bioconductor/bioconductor_docker
2+ ARG TAG=RELEASE_3_21
33
44FROM ${BASE_IMAGE}:${TAG}
55RUN apt update -y && apt install -y net-tools python3-bioblend nginx && \
@@ -8,12 +8,14 @@ RUN apt update -y && apt install -y net-tools python3-bioblend nginx && \
88 chown -R rstudio:rstudio /usr/local/lib/R/library && \
99 chown -R rstudio:rstudio /usr/local/lib/R/doc && \
1010 echo "alias ll='ls -l'" >> ~/.bashrc && \
11+ echo "rstudio ALL=(ALL) NOPASSWD: /usr/bin/s6-svscanctl" >> /etc/sudoers && \
1112 apt-get autoremove -y && apt-get clean && \
1213 rm -rf /var/lib/apt/lists/* /tmp/*
1314
1415RUN mkdir -p /etc/services.d/nginx
1516COPY service-nginx-start /etc/services.d/nginx/run
1617COPY proxy.conf /etc/nginx/sites-enabled/default
18+ COPY shutdown.R /home/rstudio/shutdown.R
1719
1820ENV PIP_USER=0
1921
Original file line number Diff line number Diff line change 1+ # Shutdown script for Galaxy Interactive tool.
2+ # To shut down this IT, run this script (or below command).
3+ system(" sudo s6-svscanctl -t /var/run/s6/services/" , wait = FALSE )
You can’t perform that action at this time.
0 commit comments