From c455420ff114a273a61a63d1a08722f435144ec6 Mon Sep 17 00:00:00 2001 From: pat-s Date: Thu, 5 Sep 2024 10:57:16 +0200 Subject: [PATCH] quiet jags install, build all images --- .woodpecker/images.yaml | 20 ++++++++++---------- docker/Dockerfile-alpine-320 | 2 +- docker/Dockerfile-redhat-8 | 2 +- docker/Dockerfile-redhat-9 | 2 +- docker/Dockerfile-ubuntu-2204 | 2 +- docker/Dockerfile-ubuntu-2404 | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.woodpecker/images.yaml b/.woodpecker/images.yaml index b08486d..42dad18 100644 --- a/.woodpecker/images.yaml +++ b/.woodpecker/images.yaml @@ -6,16 +6,16 @@ matrix: include: - PLATFORM: redhat-9 ARCH: arm64 - # - PLATFORM: redhat-8 - # ARCH: arm64 - # - PLATFORM: ubuntu-2404 - # ARCH: arm64 - # - PLATFORM: ubuntu-2204 - # ARCH: arm64 - # - PLATFORM: alpine-320 - # ARCH: arm64 - # - PLATFORM: alpine-320 - # ARCH: amd64 + - PLATFORM: redhat-8 + ARCH: arm64 + - PLATFORM: ubuntu-2404 + ARCH: arm64 + - PLATFORM: ubuntu-2204 + ARCH: arm64 + - PLATFORM: alpine-320 + ARCH: arm64 + - PLATFORM: alpine-320 + ARCH: amd64 steps: - name: 'Build image' diff --git a/docker/Dockerfile-alpine-320 b/docker/Dockerfile-alpine-320 index e856785..22605d7 100644 --- a/docker/Dockerfile-alpine-320 +++ b/docker/Dockerfile-alpine-320 @@ -12,7 +12,7 @@ RUN apk add -q --no-cache curl tar make lapack lapack-dev blas blas-dev gcc gfor ### CUSTOM DEPENDENCIES # These usually are not packaged in OS repositories and need to be installed from source # - JAGS (needed for runjags which itself is again a dependency of many packages) -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 .. +RUN curl -q -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 --enable-silent-rules && make 2>&1 >/dev/null && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd .. RUN apk del lapack lapack-dev # linux-headers: ps diff --git a/docker/Dockerfile-redhat-8 b/docker/Dockerfile-redhat-8 index d387b7f..9471737 100644 --- a/docker/Dockerfile-redhat-8 +++ b/docker/Dockerfile-redhat-8 @@ -14,7 +14,7 @@ RUN dnf install -y -q https://dl.fedoraproject.org/pub/epel/8/Everything/aarch64 ### CUSTOM DEPENDENCIES # These usually are not packaged in OS repositories and need to be installed from source # - JAGS (needed for runjags which itself is again a dependency of many packages) -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 .. +RUN curl -q -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 --enable-silent-rules && make 2>&1 >/dev/null && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd .. ### INSTALL R RUN curl -O https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el8/R-4.4.1-1-1.aarch64.rpm diff --git a/docker/Dockerfile-redhat-9 b/docker/Dockerfile-redhat-9 index 5b4097a..8f566bd 100644 --- a/docker/Dockerfile-redhat-9 +++ b/docker/Dockerfile-redhat-9 @@ -13,7 +13,7 @@ RUN dnf install -y -q lapack-devel git gcc g++ fontconfig-devel fribidi-devel li ### CUSTOM DEPENDENCIES # These usually are not packaged in OS repositories and need to be installed from source # - JAGS (needed for runjags which itself is again a dependency of many packages) -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 .. +RUN curl -q -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 --enable-silent-rules && make 2>&1 >/dev/null && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd .. ### INSTALL R RUN curl -O https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el9/R-4.4.1-1-1.aarch64.rpm diff --git a/docker/Dockerfile-ubuntu-2204 b/docker/Dockerfile-ubuntu-2204 index de2edad..77dac31 100644 --- a/docker/Dockerfile-ubuntu-2204 +++ b/docker/Dockerfile-ubuntu-2204 @@ -11,7 +11,7 @@ RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran ### CUSTOM DEPENDENCIES # These usually are not packaged in OS repositories and need to be installed from source # - JAGS (needed for runjags which itself is again a dependency of many packages) -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 .. +RUN curl -q -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 --enable-silent-rules && make 2>&1 >/dev/null && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd .. ### INSTALL R RUN curl -O https://devxy-r-builds.s3.eu-central-2.amazonaws.com/2204/r-4.4.1_1_arm64.deb diff --git a/docker/Dockerfile-ubuntu-2404 b/docker/Dockerfile-ubuntu-2404 index fdd48f4..e88e5d2 100644 --- a/docker/Dockerfile-ubuntu-2404 +++ b/docker/Dockerfile-ubuntu-2404 @@ -11,7 +11,7 @@ RUN apt update && apt install -y --no-install-recommends gdebi-core g++ gfortran ### CUSTOM DEPENDENCIES # These usually are not packaged in OS repositories and need to be installed from source # - JAGS (needed for runjags which itself is again a dependency of many packages) -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 .. +RUN curl -q -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 --enable-silent-rules && make 2>&1 >/dev/null && rm -rf JAGS-4.3.2.tar.gz JAGS-4.3.2 && cd .. ### INSTALL R RUN curl -O https://devxy-r-builds.s3.eu-central-2.amazonaws.com/2404/r-4.4.1_1_arm64.deb