Skip to content

Commit ac1ceab

Browse files
afganealmahmoud
authored andcommitted
Update to 3.21 and add shutdown script
1 parent f0b4886 commit ac1ceab

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

extensions/galaxy/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

44
FROM ${BASE_IMAGE}:${TAG}
55
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 && \
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

1415
RUN mkdir -p /etc/services.d/nginx
1516
COPY service-nginx-start /etc/services.d/nginx/run
1617
COPY proxy.conf /etc/nginx/sites-enabled/default
18+
COPY shutdown.R /home/rstudio/shutdown.R
1719

1820
ENV PIP_USER=0
1921

extensions/galaxy/shutdown.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
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)

0 commit comments

Comments
 (0)