Skip to content

Migrate away from Docker Hub #114

Description

@chainsawriot
FROM ghcr.io/rocker-org/r-ver:4.2

is possible. But it only supports R >= 4.

As far as I know, there is no EOL Debian image on ghcr. We can port the Debian EOL (or at least the default Lenny image) from Dockerhub to ghcr as a service, if needed. (Although I can't imagine a world where Debian is not qualified for the Docker Hub Open Source tier. If Debian isn't qualified for that I don't know what can possible be qualified.)

Activity

  1. chainsawriot commented on Mar 16, 2023

    @chainsawriot
    CollaboratorAuthor
    FROM ghcr.io/rocker-org/r-ver:4.2.2
    RUN apt-get update -qq && apt-get install -y libpcre3-dev zlib1g-dev pkg-config libcurl4-openssl-dev && apt-get install -y tcl8.6 tk8.6 tk-table
    COPY rang.R ./rang.R
    COPY cache ./cache
    RUN Rscript rang.R
    CMD ["R"]

    And yes, it works.

    Modified from:

    resolve(pkgs = "cran/tcltk2", snapshot_date = "2023-01-01")
  2. chainsawriot commented on Mar 16, 2023

    @chainsawriot
    CollaboratorAuthor
  3. chainsawriot commented on Mar 16, 2023

    @chainsawriot
    CollaboratorAuthor
  4. chainsawriot commented on Mar 16, 2023

    @chainsawriot
    CollaboratorAuthor
    FROM scratch
    ADD rootfs.tar.xz /
    ENV TZ UTC
    RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt-get update -qq && apt-get install wget locales build-essential r-base-dev  -y
    COPY rang.R ./rang.R
    COPY compile_r.sh ./compile_r.sh
    COPY cache ./cache
    RUN apt-get update -qq && apt-get install -y libpcre3-dev zlib1g-dev pkg-config libcurl4-openssl-dev
    RUN bash compile_r.sh 1.9.1
    CMD ["R"]

    And it works.

    Modified from

    resolve(pkgs = "ptproc", snapshot_date = "2004-07-01")
  5. changed the title [-]Using `ghcr`[/-] [+]Migrate away from Docker Hub[/+] on Mar 16, 2023
  6. chainsawriot commented on Mar 17, 2023

    @chainsawriot
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions