Skip to content

Commit

Permalink
Merge pull request #263 from massongit/fix_3
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuhiroM authored May 2, 2024
2 parents dcb17af + 621b086 commit f53ab64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dockerfiles/notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit f53ab64

Please sign in to comment.