Skip to content

Commit

Permalink
add all pkgs from r-universe-org/base-image to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jan 17, 2023
1 parent 346cd02 commit 9b1cb26
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 46 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pkgcheck
Title: rOpenSci Package Checks
Version: 0.1.1.010
Version: 0.1.1.011
Authors@R: c(
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265")),
Expand Down
144 changes: 100 additions & 44 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,59 +20,149 @@ RUN apt-get install -y --no-install-recommends \
&& chgrp 1000 /usr/local/lib/R/site-library \
&& install.r remotes

# still need ubuntugis for gdal 3.1.0 (currently standard candidate is 3.0.4)
RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable \
&& apt update \
&& apt -y upgrade

# GitHub Ubuntu-20.04 runner, but not imagemagick because v7 needs to be
# compiled with librsvg2, rather than binary-installed
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
# netbase: https://github.com/tensorflow/haskell/issues/182
RUN apt-get update -qq && apt-get install -y \
acl \
apt-utils \
autoconf automake \
binutils \
bison \
brotli \
build-essential \
bzip2 \
cargo \
cmake \
coinor-libcbc-dev \
coinor-libsymphony-dev \
coreutils \
curl \
dbus \
dnsutils \
dos2unix \
dpkg \
fakeroot \
file \
flac \
flex \
fonts-emojione \
fonts-noto-color-emoji \
ftp \
gcc \
git \
global \
gnupg2 \
haveged \
iproute2 \
iputils-ping \
jags \
jq \
language-pack-en-base \
lib32z1 \
libapparmor-dev \
libarchive-dev \
libavfilter-dev \
libbam-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libc++-dev \
libc++abi-dev \
libcairo2-dev \
libcurl4 \
libcurl4-openssl-dev \
libdb-dev \
libeigen3-dev \
libelf-dev \
libfftw3-dev \
libfreetype6-dev \
libfribidi-dev \
libgbm-dev \
libgconf-2-4 \
libgdal-dev \
libgeos-dev \
libgit2-dev \
libglpk-dev \
libglu1-mesa-dev \
libgpgme-dev \
libgsl-dev \
libgtk-3-0 \
libharfbuzz-dev \
libhdf5-dev \
libhiredis-dev \
libicu-dev \
libjansson-dev \
libjpeg-dev \
libjq-dev \
libmagick++-dev \
libmpfr-dev \
libmysqlclient-dev \
libnetcdf-dev \
libnng-dev \
libopenbabel-dev \
libopenblas0 \
libopencv-dev \
libpng-dev \
libpoppler-cpp-dev \
libpq-dev \
libproj-dev \
libprotobuf-dev \
libprotoc-dev \
librabbitmq-dev \
librdf0 \
librrd-dev \
librsvg2-dev \
libsasl2-dev \
libseccomp-dev \
libsecret-1-dev \
libsodium-dev \
libsqlite3-dev \
libssh-dev \
libssh2-1-dev \
libssl-dev \
libtesseract-dev \
libtiff-dev \
libudunits2-dev \
libunwind8 \
libv8-dev \
libwebp-dev \
libxkbfile-dev \
libxml2-dev \
libxslt-dev \
libxslt1-dev \
libxss1 \
libyaml-dev \
libzmq3-dev \
locales \
make \
m4 \
mediainfo \
net-tools \
netbase \
netcat \
openssh-client \
p7zip-full \
p7zip-rar \
pandoc \
pandoc-citeproc \
parallel \
pass \
patchelf \
pkg-config \
pollinate \
protobuf-compiler \
python-is-python3 \
python3-docutils \
python3-numpy \
python3-pip \
r-base-dev \
r-cran-rjava \
rpm \
rsync \
shellcheck \
Expand All @@ -81,31 +171,30 @@ RUN apt-get update -qq && apt-get install -y \
ssh \
swig \
telnet \
tesseract-ocr-eng \
texinfo \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-latex-base \
texlive-latex-extra \
time \
tk \
ttf-mscorefonts-installer \
tzdata \
unixodbc-dev \
unzip \
upx \
wget \
xorriso \
xvfb \
xz-utils \
zip \
zlib1g-dev \
zstd \
zsync
zsync && \
apt-get clean

# ctags install
RUN apt-get install -y \
apt-utils \
gcc make \
autoconf automake \
git-core \
python3-docutils \
libseccomp-dev \
libjansson-dev \
libyaml-dev \
libxml2-dev
RUN git clone https://github.com/universal-ctags/ctags.git \
&& cd ctags \
&& ./autogen.sh \
Expand All @@ -121,41 +210,8 @@ RUN VERSION=`curl "https://api.github.com/repos/cli/cli/releases/latest" | grep
&& cp gh_${VERSION}_linux_amd64/bin/gh /usr/local/bin/
#RUN cp -r gh_${VERSION}_linux_amd64/share/man/man1/* /usr/share/man/man1/

# still need ubuntugis for gdal 3.1.0 (currently standard candidate is 3.0.4)
RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable \
&& apt update \
&& apt -y upgrade

# netbase is critical:
# https://github.com/commercialhaskell/stack/issues/2372#issuecomment-234113085
# https://github.com/tensorflow/haskell/issues/182
RUN apt-get install -y \
cargo \
dos2unix \
global \
libgit2-dev \
libssl-dev \
#libcurl4-gnutls-dev \
libcurl4-openssl-dev \
libgdal-dev \
libgeos-dev \
libjq-dev \
libproj-dev \
libglpk-dev \
libsodium-dev \
libudunits2-dev \
libxslt1-dev \
netbase \
texlive-latex-base \
texlive-fonts-recommended \
texlive-latex-extra \
texlive-fonts-extra \
pandoc \
pandoc-citeproc

# Julia:
# https://github.com/ropensci-review-tools/roreviewapi/issues/28
RUN apt-get install -y python3-pip
RUN pip install jill
RUN jill install --confirm

Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/pkgcheck",
"issueTracker": "https://github.com/ropensci-review-tools/pkgcheck/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.1.010",
"version": "0.1.1.011",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 9b1cb26

Please sign in to comment.