gmbecker / contributing_to_r_lesson

Other
23 stars 6 forks source link

`wget` is not available in the `rocker/r-ver:3.3.2` image #2

Open chainsawriot opened 2 months ago

chainsawriot commented 2 months ago

As title.

It is also quite difficult to install wget inside the container because Debian Jessie (which rocker/r-ver:3.3.2 is based on) is already in archive, as of today (2024-07-08). apt won't work out of the box, unless one edits /etc/apt/.

I would suggest either using evercran or downloading the r source locally and then use docker -v to link it inside the container.

chainsawriot commented 2 months ago

Checked: This work out of the box, with wget

docker run -it --mount src=r-source,target=/r-source ghcr.io/r-hub/evercran/3.3.2 bash
gmbecker commented 2 months ago

This is good advice, looks like evercran is a successor project to rocker

On Mon, Jul 8, 2024, 2:44 PM chainsawriot @.***> wrote:

Checked: This work out of the box, with wget

docker run -it --mount src=r-source,target=/r-source ghcr.io/r-hub/evercran/3.3.2 bash

— Reply to this email directly, view it on GitHub https://github.com/gmbecker/contributing_to_r_lesson/issues/2#issuecomment-2213977087, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG53MNEUUTTZ2P73HR6VQDZLKCRBAVCNFSM6AAAAABKQYB2YKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJTHE3TOMBYG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>