Skip to content

Commit

Permalink
Add missing libxml2 packages for r-client-base. (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcferretti authored Oct 12, 2023
1 parent f893df0 commit 9f734ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions r-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN set -eux; \
echo "deb [signed-by=/usr/share/keyrings/r-project.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" | \
tee -a /etc/apt/sources.list.d/r-project.list; \
apt-get -qq update; \
apt-get -qq -y install r-base r-recommended; \
apt-get -qq -y install r-base r-recommended libxml2-dev; \
rm -fr /var/lib/apt/lists/*

#
Expand All @@ -30,7 +30,7 @@ RUN set -eux; \
RUN set -eux; \
[ "${DISTRO_BASE_SHORT}" = "fedora" ] || exit 0; \
dnf -q -y update; \
dnf -q -y install R; \
dnf -q -y install R libxml2-devel; \
dnf clean all

#
Expand All @@ -52,6 +52,7 @@ RUN set -eux; \
bzip2 \
which \
redhat-rpm-config \
libxml2-devel \
; \
$DNF clean all; \
rpm -Uvh "${URL_BASE}/t/tre-common-0.8.0-27.20140228gitc2f5d13.el8.noarch.rpm"; \
Expand Down

0 comments on commit 9f734ba

Please sign in to comment.