From ff568858e841b7db04567479dd3c15cc34dee787 Mon Sep 17 00:00:00 2001 From: Saanika Gupta Date: Tue, 16 Sep 2025 11:24:44 +0530 Subject: [PATCH] Fix tcltk2 package installation in R Dockerfiles --- .../basics/6c_r_iris/docker-context/Dockerfile | 3 ++- .../docker_context/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/jobs/pipelines-with-components/basics/6c_r_iris/docker-context/Dockerfile b/cli/jobs/pipelines-with-components/basics/6c_r_iris/docker-context/Dockerfile index 3f9dce0327..f4513e914b 100644 --- a/cli/jobs/pipelines-with-components/basics/6c_r_iris/docker-context/Dockerfile +++ b/cli/jobs/pipelines-with-components/basics/6c_r_iris/docker-context/Dockerfile @@ -19,4 +19,5 @@ RUN ln -f /usr/bin/python3 /usr/bin/python RUN R -e "install.packages(c('mlflow'), repos = 'https://cloud.r-project.org/')" RUN R -e "install.packages(c('carrier'), repos = 'https://cloud.r-project.org/')" RUN R -e "install.packages(c('optparse'), repos = 'https://cloud.r-project.org/')" -RUN R -e "install.packages(c('tcltk2'), repos = 'https://cloud.r-project.org/')" +# R 4.0.0 compatible version of tcltk2 +RUN R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/tcltk2/tcltk2_1.2-11.tar.gz', repos=NULL, type='source');" diff --git a/sdk/python/jobs/pipelines/1d_pipeline_with_non_python_components/docker_context/Dockerfile b/sdk/python/jobs/pipelines/1d_pipeline_with_non_python_components/docker_context/Dockerfile index d8adc7a5dd..76e56fb895 100644 --- a/sdk/python/jobs/pipelines/1d_pipeline_with_non_python_components/docker_context/Dockerfile +++ b/sdk/python/jobs/pipelines/1d_pipeline_with_non_python_components/docker_context/Dockerfile @@ -19,4 +19,5 @@ RUN ln -f /usr/bin/python3 /usr/bin/python RUN R -e "install.packages(c('mlflow'), repos = 'https://cloud.r-project.org/')" RUN R -e "install.packages(c('carrier'), repos = 'https://cloud.r-project.org/')" RUN R -e "install.packages(c('optparse'), repos = 'https://cloud.r-project.org/')" -RUN R -e "install.packages(c('tcltk2'), repos = 'https://cloud.r-project.org/')" \ No newline at end of file +# R 4.0.0 compatible version of tcltk2 +RUN R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/tcltk2/tcltk2_1.2-11.tar.gz', repos=NULL, type='source');" \ No newline at end of file