From f31d69d8d13a5490bd20e8b05c8b6e0c23ca34d9 Mon Sep 17 00:00:00 2001 From: Bryan BRANCOTTE <bryan.brancotte@pasteur.fr> Date: Mon, 24 Jun 2024 14:56:08 +0200 Subject: [PATCH] lighter image, add link to doc for base image, pin shiny-server --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1550490..288e505 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ # Build image from the base image, previously configured for you -#FROM registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.11-slim-bullseye -#FROM registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.10-slim-bullseye -FROM registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.9-slim-bullseye +# Full list of images can be found at +# https://hub.pages.pasteur.fr/shiny-k8s/user_guide/configure_image.html#image-list +FROM registry-gitlab.pasteur.fr/hub/shiny-k8s/python:3.9-slim-bullseye--1.5.22.1017 # Add workdir information WORKDIR /srv/shiny-server/ -# install additional dependencies, comment the block if you don't have one -RUN apt-get update \ - && apt-get install -y \ - wget \ - && rm -rf /var/lib/apt/lists/* +# Install additional dependencies, uncomment the block if you have one, and edit/duplicate line 12 +# RUN apt-get update \ +# && apt-get install -y \ +# your-system-dependency \ +# && rm -rf /var/lib/apt/lists/* # Copy your dependencies, destination filename must be "packages_to_install.csv" COPY ./requirements.txt /opt/scripts/requirements.txt -- GitLab