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