From 3e92e4664819a1519330cc0a28e1f524c8b124c6 Mon Sep 17 00:00:00 2001 From: mpadge Date: Wed, 22 May 2024 13:24:16 +0200 Subject: [PATCH] restructure Dockerfile with github-runner sep from extra sysdeps --- DESCRIPTION | 2 +- Dockerfile | 147 ++++++++++++++++++++++++++++---------------------- codemeta.json | 2 +- 3 files changed, 86 insertions(+), 65 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 032484d..4f71307 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: pkgcheck Title: rOpenSci Package Checks -Version: 0.1.2.037 +Version: 0.1.2.038 Authors@R: c( person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2172-5265")), diff --git a/Dockerfile b/Dockerfile index f6fecfd..40863a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,51 +34,114 @@ RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable \ # netbase: https://github.com/tensorflow/haskell/issues/182 RUN apt-get update -qq && apt-get install -y \ acl \ - apt-utils \ - autoconf automake \ + aria2 \ + autoconf \ + automake \ binutils \ bison \ brotli \ - build-essential \ bzip2 \ - cargo \ - cmake \ - coinor-libcbc-dev \ - coinor-libsymphony-dev \ coreutils \ curl \ dbus \ dnsutils \ - dos2unix \ dpkg \ + dpkg-dev \ fakeroot \ file \ - flac \ + findutils \ flex \ - fonts-emojione \ fonts-noto-color-emoji \ ftp \ + g++ \ gcc \ - git \ - global \ gnupg2 \ haveged \ iproute2 \ iputils-ping \ - jags \ jq \ - language-pack-en-base \ lib32z1 \ + libc++-dev \ + libc++abi-dev \ + libc6-dev \ + libcurl4 \ + libgbm-dev \ + libgconf-2-4 \ + libgsl-dev \ + libgtk-3-0 \ + libmagic-dev \ + libmagickcore-dev \ + libmagickwand-dev \ + libsecret-1-dev \ + libsqlite3-dev \ + libtool \ + libunwind8 \ + libxkbfile-dev \ + libxss1 \ + libyaml-dev \ + locales \ + m4 \ + make \ + mediainfo \ + mercurial \ + net-tools \ + netcat \ + openssh-client \ + p7zip-full \ + p7zip-rar \ + parallel \ + pass \ + patchelf \ + pigz \ + pkg-config \ + pollinate \ + python-is-python3 \ + rpm \ + rsync \ + shellcheck \ + sphinxsearch \ + sqlite3 \ + ssh \ + sshpass \ + swig \ + tar \ + telnet \ + texinfo \ + time \ + tk \ + tzdata \ + unzip \ + upx \ + wget \ + xorriso \ + xvfb \ + xz-utils \ + zip \ + zsync && \ + apt-get clean + +# Extra sysdeps: +RUN apt-get update -qq && apt-get install -y \ + apt-utils \ + build-essential \ + cargo \ + cmake \ + coinor-libcbc-dev \ + coinor-libsymphony-dev \ + dos2unix \ + flac \ + fonts-emojione \ + git \ + global \ + jags \ + language-pack-en-base \ 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 \ @@ -86,16 +149,12 @@ RUN apt-get update -qq && apt-get install -y \ 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 \ @@ -123,80 +182,42 @@ RUN apt-get update -qq && apt-get install -y \ 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 \ - sphinxsearch \ - sqlite3 \ - 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 && \ + zstd && \ apt-get clean +# For some reason, librdf0-dev doesn't install in the list above: +RUN apt-get install -y librdf0-dev + # ctags install RUN git clone https://github.com/universal-ctags/ctags.git \ && cd ctags \ diff --git a/codemeta.json b/codemeta.json index b5a5274..e65839e 100644 --- a/codemeta.json +++ b/codemeta.json @@ -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.2.037", + "version": "0.1.2.038", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",