Skip to content

Commit c29c1be

Browse files
committed
Get R image building
1 parent d8d9ed9 commit c29c1be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

terra-jupyter-r/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ COPY scripts $JUPYTER_HOME/scripts
66

77
# Add env vars to identify binary package installation
88
ENV TERRA_R_PLATFORM="terra-jupyter-r-2.2.6"
9-
ENV TERRA_R_PLATFORM_BINARY_VERSION=3.20
9+
ENV TERRA_R_PLATFORM_BINARY_VERSION=3.21
1010

1111
# Install protobuf 3.20.3. Note this version comes from base deep learning image. Use `conda list` to see what's installed
1212
RUN cd /tmp \
@@ -31,6 +31,8 @@ RUN apt-get update \
3131
&& add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/' \
3232
&& apt-get install -yq --no-install-recommends apt-transport-https \
3333
&& apt update \
34+
# Reconfigure dpkg to solve `Sub-process /usr/bin/dpkg returned an error code` when installing below packages
35+
&& dpkg --configure -a \
3436
&& apt install -yq --no-install-recommends \
3537
apt-utils \
3638
libssh2-1-dev \

0 commit comments

Comments
 (0)