Skip to content

Commit

Permalink
Revert "Adding missing noninteractive env variable"
Browse files Browse the repository at this point in the history
This reverts commit ca0aaa4.
  • Loading branch information
Gordonei committed Oct 3, 2024
1 parent ca0aaa4 commit 2b871bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions base/drivers/python_minimal/r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY install.R .
# Do the build in one layer to keep the image as small as possible.
# temporary symlink to fix broken apt_inst and apt_pkg for gdebi and add-apt-repository
# remove when the python 3.9 dependencies are removed from python_minimal
RUN DEBIAN_FRONTEND=noninteractive ln -s /usr/lib/python3/dist-packages/apt_pkg.cpython-310-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/apt_pkg.so \
RUN ln -s /usr/lib/python3/dist-packages/apt_pkg.cpython-310-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/apt_pkg.so \
&& ln -s /usr/lib/python3/dist-packages/apt_inst.cpython-310-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/apt_inst.so \
# Install common utils
&& apt-get install -y --no-install-recommends \
Expand All @@ -41,7 +41,7 @@ RUN DEBIAN_FRONTEND=noninteractive ln -s /usr/lib/python3/dist-packages/apt_pkg.
build-essential \
sudo \
&& wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc \
&& add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" \
&& sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" \
&& apt-get update \
&& apt-get install -y --no-install-recommends r-base r-base-dev \
# Install system dependencies for common R packages
Expand All @@ -57,7 +57,7 @@ RUN DEBIAN_FRONTEND=noninteractive ln -s /usr/lib/python3/dist-packages/apt_pkg.
# Makes use of pak to install system dependencies of CRAN top 100 packages as well
# Use install.R to determine what apt packages are needed...
&& if [ -f install.R ]; then R --quiet -f install.R; fi \
# ...install.R will create a bash install file called R_apt_deps.sh...
# ...install.R will create a bash install file called R_apt_deps.txt...
# ...and then use apt to install those packages
&& echo "Checking for 'R_apt_deps.'..." \
; if test -f "R_apt_deps.sh" ; then \
Expand Down
2 changes: 1 addition & 1 deletion base/drivers/python_minimal/r/rstudio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ USER root

# Install system dependencies ==================================================
# BOTH JUPYTER AND RSTUDIO DEPS ================================================
RUN DEBIAN_FRONTEND=noninteractive apt-get update --fix-missing > /dev/null \
RUN apt-get update --fix-missing > /dev/null \
&& apt-get install --yes --no-install-recommends \
# for jupyter
git \
Expand Down

0 comments on commit 2b871bc

Please sign in to comment.