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
3
3
4
4
FROM ${BASE_IMAGE}:${TAG}
5
5
RUN 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 && \
8
8
chown -R rstudio:rstudio /usr/local/lib/R/library && \
9
9
chown -R rstudio:rstudio /usr/local/lib/R/doc && \
10
10
echo "alias ll='ls -l'" >> ~/.bashrc && \
11
+ echo "rstudio ALL=(ALL) NOPASSWD: /usr/bin/s6-svscanctl" >> /etc/sudoers && \
11
12
apt-get autoremove -y && apt-get clean && \
12
13
rm -rf /var/lib/apt/lists/* /tmp/*
13
14
14
15
RUN mkdir -p /etc/services.d/nginx
15
16
COPY service-nginx-start /etc/services.d/nginx/run
16
17
COPY proxy.conf /etc/nginx/sites-enabled/default
18
+ COPY shutdown.R /home/rstudio/shutdown.R
17
19
18
20
ENV PIP_USER=0
19
21
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