Skip to content

Commit 7a6b9ed

Browse files
author
Saanika Gupta
committed
Fix tcltk2 package installation in R Dockerfiles
1 parent 934205a commit 7a6b9ed

File tree

2 files changed

+2
-2
lines changed
  • cli/jobs/pipelines-with-components/basics/6c_r_iris/docker-context
  • sdk/python/jobs/pipelines/1d_pipeline_with_non_python_components/docker_context

2 files changed

+2
-2
lines changed

cli/jobs/pipelines-with-components/basics/6c_r_iris/docker-context/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ RUN ln -f /usr/bin/python3 /usr/bin/python
1919
RUN R -e "install.packages(c('mlflow'), repos = 'https://cloud.r-project.org/')"
2020
RUN R -e "install.packages(c('carrier'), repos = 'https://cloud.r-project.org/')"
2121
RUN R -e "install.packages(c('optparse'), repos = 'https://cloud.r-project.org/')"
22-
RUN R -e "install.packages(c('tcltk2'), repos = 'https://cloud.r-project.org/')"
22+
RUN R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/tcltk2/tcltk2_1.2-11.tar.gz', repos=NULL, type='source');"

sdk/python/jobs/pipelines/1d_pipeline_with_non_python_components/docker_context/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ RUN ln -f /usr/bin/python3 /usr/bin/python
1919
RUN R -e "install.packages(c('mlflow'), repos = 'https://cloud.r-project.org/')"
2020
RUN R -e "install.packages(c('carrier'), repos = 'https://cloud.r-project.org/')"
2121
RUN R -e "install.packages(c('optparse'), repos = 'https://cloud.r-project.org/')"
22-
RUN R -e "install.packages(c('tcltk2'), repos = 'https://cloud.r-project.org/')"
22+
RUN R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/tcltk2/tcltk2_1.2-11.tar.gz', repos=NULL, type='source');"

0 commit comments

Comments
 (0)