From 621b086c9bceda041bfe7d0d045bc34d094641df Mon Sep 17 00:00:00 2001 From: Masaya Suzuki Date: Thu, 2 May 2024 17:17:35 +0900 Subject: [PATCH] =?UTF-8?q?R=E3=83=91=E3=83=83=E3=82=B1=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=82=92=E7=9B=B4=E6=8E=A5=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=81=99=E3=82=8B=E5=BD=A2=E3=81=AB=E6=88=BB?= =?UTF-8?q?=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfiles/notebook/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dockerfiles/notebook/Dockerfile b/dockerfiles/notebook/Dockerfile index 80a78a87..d05972cc 100644 --- a/dockerfiles/notebook/Dockerfile +++ b/dockerfiles/notebook/Dockerfile @@ -22,11 +22,9 @@ WORKDIR /home/jovyan COPY Pipfile . COPY Pipfile.lock . -# hadolint ignore=SC2016 RUN pip install --no-cache-dir pipenv==2021.5.29 \ && pipenv install --system \ - && Rscript -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))' \ - && Rscript -e 'pak::repo_add(CRAN = "RSPM@2022-12-16"); pak::pak(c("DBI", "RPostgreSQL", "themis"))' \ + && Rscript -e 'install.packages(c("DBI", "RPostgreSQL", "themis"), dependencies = TRUE, error = TRUE, repos="https://cran.r-project.org")' \ && rm -rf Pipfile* .cache/R/pkgcache/sysreqs/docker/*/Dockerfile /tmp/* /var/tmp/* HEALTHCHECK --interval=5s --retries=20 CMD ["curl", "-s", "-S", "-o", "/dev/null", "http://localhost:8888"]