From 19eec13c279189ad36908874a7bea0c90cf1bab7 Mon Sep 17 00:00:00 2001 From: Eli Holmes Date: Thu, 18 Jul 2024 07:59:13 -0700 Subject: [PATCH] v1.0.2 add root --- draft_images/rstudio-gcp/Dockerfile | 3 ++- draft_images/rstudio-gcp/README.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/draft_images/rstudio-gcp/Dockerfile b/draft_images/rstudio-gcp/Dockerfile index cdf1070..6d0a3fa 100644 --- a/draft_images/rstudio-gcp/Dockerfile +++ b/draft_images/rstudio-gcp/Dockerfile @@ -1,4 +1,5 @@ FROM rocker/rstudio -# Set the entrypoint +USER root + ENTRYPOINT ["/usr/lib/rstudio-server/bin/rserver --www-port=80 --server-daemonize=0 & sleep infinity"] diff --git a/draft_images/rstudio-gcp/README.md b/draft_images/rstudio-gcp/README.md index 0ce9012..4ee368d 100644 --- a/draft_images/rstudio-gcp/README.md +++ b/draft_images/rstudio-gcp/README.md @@ -8,11 +8,11 @@ ## July 6th ``` -IMAGE_NAME="test-gcp" ARTIFACT_REGISTRY_REPONAME="nmfs-opensci-images" GCP_PROJECT_NAME="ggn-nmfs-opensciws-dev-1" ARTIFACT_REGISTRY_LOCATION="us-east4-docker.pkg.dev" -IMAGE_TAG="v1.0.16" +IMAGE_NAME="rstudio-gcp" +IMAGE_TAG="v1.0.1" docker pull ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG docker tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG us-east4-docker.pkg.dev/ggn-nmfs-opensciws-dev-1/nmfs-opensci-images/$IMAGE_NAME:$IMAGE_TAG docker push us-east4-docker.pkg.dev/ggn-nmfs-opensciws-dev-1/$ARTIFACT_REGISTRY_REPONAME/$IMAGE_NAME:$IMAGE_TAG