Skip to content

Commit

Permalink
Handle dh-r getting autoremoved in later script
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud authored Dec 9, 2024
1 parent 0d70ae2 commit 7c3475e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@ ARG BASE_IMAGE=ghcr.io/bioconductor/r2u
ARG UBUNTU_TAG=jammy
FROM ${BASE_IMAGE}:${UBUNTU_TAG} AS base
ARG BIOC_VERSION=3.19
RUN apt update -qq && apt install git-all build-essential binutils lintian debhelper dh-make devscripts curl vim dh-r -y && curl -O https://raw.githubusercontent.com/Bioconductor/bioconductor_docker/devel/bioc_scripts/install_bioc_sysdeps.sh && sed -i 's/install.packages("BiocManager"/bspm::disable(); install.packages("BiocManager"/g' install_bioc_sysdeps.sh && sed -i 's/BiocManager::install(version=/bspm::disable(); BiocManager::install(version=/g' install_bioc_sysdeps.sh && bash install_bioc_sysdeps.sh $BIOC_VERSION || ( sed -i 's/--break-system-packages//g' install_bioc_sysdeps.sh && bash install_bioc_sysdeps.sh $BIOC_VERSION )
RUN apt update -qq &&\
apt install -y git-all build-essential binutils lintian dh-make devscripts curl vim &&\
curl -O https://raw.githubusercontent.com/Bioconductor/bioconductor_docker/devel/bioc_scripts/install_bioc_sysdeps.sh &&\
sed -i 's/install.packages("BiocManager"/bspm::disable(); install.packages("BiocManager"/g' install_bioc_sysdeps.sh &&\
sed -i 's/BiocManager::install(version=/bspm::disable(); BiocManager::install(version=/g' install_bioc_sysdeps.sh &&\
bash install_bioc_sysdeps.sh $BIOC_VERSION || ( sed -i 's/--break-system-packages//g' install_bioc_sysdeps.sh && bash install_bioc_sysdeps.sh $BIOC_VERSION ) &&\
apt install -y debhelper dh-r

0 comments on commit 7c3475e

Please sign in to comment.