use backblaze for interpreter download

This commit is contained in:
Patrick Schratz 2024-09-03 19:08:15 +02:00
commit 845d7dc702
Signed by: pat-s
GPG key ID: 3C6318841EF78925
5 changed files with 10 additions and 10 deletions

View file

@ -24,7 +24,7 @@ RUN apk add -q --no-cache R-dev curl ca-certificates bash g++ tzdata openjdk17 t
RUN mkdir ~/.R && echo -e "CXXFLAGS+=-D__MUSL__\nCPPFLAGS+= -D__MUSL__\nLDFLAGS+=-fPIC" >> ~/.R/Makevars
### INSTALL R
RUN curl -O https://devxy-rbuilds.s3.eu-central-2.amazonaws.com/alpine320/r-4.4.1_1_aarch64.apk
RUN curl -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/alpine320/r-4.4.1_1_arm64.deb
RUN apk add --allow-untrusted r-4.4.1_1_aarch64.apk && rm r-4.4.1_1_aarch64.apk
RUN R -q -e 'install.packages("remotes", repo = "cloud.r-project.org"); remotes::install_github("pat-s/pak@alpine")'

View file

@ -1,4 +1,4 @@
FROM redhat/ubi8:8.10-1054
FROM redhat/ubi8
ARG RED_HAT_DEV_PW
ENV PATH=/opt/R/4.4.1/bin:$PATH
@ -15,7 +15,7 @@ RUN dnf install -y -q https://dl.fedoraproject.org/pub/epel/8/Everything/aarch64
RUN curl -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure && make && make install && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
### INSTALL R
RUN curl -O https://devxy-rbuilds.s3.eu-central-2.amazonaws.com/el8/R-4.4.1-1-1.aarch64.rpm
RUN curl -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/el8/r-4.4.1_1_arm64.deb
RUN dnf install -q -y R-4.4.1-1-1.aarch64.rpm
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'

View file

@ -1,4 +1,4 @@
FROM redhat/ubi9:9.4-1181.1724035907
FROM redhat/ubi9
ARG RED_HAT_DEV_PW
ENV PATH=/opt/R/4.4.1/bin:$PATH
@ -7,7 +7,7 @@ ARG GITHUB_PAT
RUN subscription-manager register --username devxy --password "$RED_HAT_DEV_PW" && subscription-manager repos --enable codeready-builder-for-rhel-9-aarch64-rpms
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && dnf install -y epel-release
RUN dnf install -y -q lapack-devel git gcc g++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel htop libgit2-devel hiredis ccache
RUN dnf install -y -q lapack-devel git gcc g++ fontconfig-devel fribidi-devel libjpeg-turbo-devel libtiff-devel htop libgit2-devel hiredis ccache libpq-devel
### CUSTOM DEPENDENCIES
# These usually are not packaged in OS repositories and need to be installed from source
@ -15,7 +15,7 @@ RUN dnf install -y -q lapack-devel git gcc g++ fontconfig-devel fribidi-devel li
RUN curl -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure && make && make install && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
### INSTALL R
RUN curl -O https://devxy-rbuilds.s3.eu-central-2.amazonaws.com/el9/R-4.4.1-1-1.aarch64.rpm
RUN curl -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/el9/r-4.4.1_1_arm64.deb
RUN dnf install -q -y R-4.4.1-1-1.aarch64.rpm
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'

View file

@ -1,4 +1,4 @@
FROM ubuntu:jammy-20240808
FROM ubuntu:jammy
ENV PATH=/opt/R/4.4.1/bin:$PATH
ENV TZ="Europe/Berlin"
@ -11,7 +11,7 @@ RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran
RUN curl -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure && make && make install && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
### INSTALL R
RUN curl -O https://devxy-rbuilds.s3.eu-central-2.amazonaws.com/2204/r-4.4.1_1_arm64.deb
RUN curl -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/2204/r-4.4.1_1_arm64.deb
RUN gdebi -n -qq r-4.4.1_1_arm64.deb && rm r-4.4.1_1_arm64.deb
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'

View file

@ -1,4 +1,4 @@
FROM ubuntu:noble-20240605
FROM ubuntu:noble
ENV PATH=/opt/R/4.4.1/bin:$PATH
ENV TZ="Europe/Berlin"
@ -11,7 +11,7 @@ RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran
RUN curl -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.3.2.tar.gz && tar -xzf JAGS-4.3.2.tar.gz && cd JAGS-4.3.2 && ./configure && make && make install && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd ..
### INSTALL R
RUN curl -O https://devxy-rbuilds.s3.eu-central-2.amazonaws.com/2404/r-4.4.1_1_arm64.deb
RUN curl -O https://devxy-r-builds.s3.eu-central-003.backblazeb2.com/2404/r-4.4.1_1_arm64.deb
RUN gdebi -n -qq r-4.4.1_1_arm64.deb && rm r-4.4.1_1_arm64.deb
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'