Skip to content

Commit

Permalink
Update Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
glin committed Aug 29, 2022
1 parent 6a8fb0e commit f987124
Show file tree
Hide file tree
Showing 60 changed files with 750 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 3.1/opensuse154/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse154

ARG R_VERSION=3.1.3
ARG OS_IDENTIFIER=opensuse-154

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
zypper --non-interactive --no-gpg-checks install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
zypper clean --all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.1/opensuse154/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.1/opensuse154/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.1.3-opensuse154
27 changes: 27 additions & 0 deletions 3.1/rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux9

ARG R_VERSION=3.1.3
ARG OS_IDENTIFIER=rhel-9

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf -y install epel-release && \
dnf -y install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y remove epel-release && \
dnf config-manager --set-disabled crb && \
dnf clean all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.1/rockylinux9/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.1/rockylinux9/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.1.3-rockylinux9
22 changes: 22 additions & 0 deletions 3.2/opensuse154/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse154

ARG R_VERSION=3.2.5
ARG OS_IDENTIFIER=opensuse-154

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
zypper --non-interactive --no-gpg-checks install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
zypper clean --all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.2/opensuse154/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.2/opensuse154/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.2.5-opensuse154
27 changes: 27 additions & 0 deletions 3.2/rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux9

ARG R_VERSION=3.2.5
ARG OS_IDENTIFIER=rhel-9

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf -y install epel-release && \
dnf -y install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y remove epel-release && \
dnf config-manager --set-disabled crb && \
dnf clean all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.2/rockylinux9/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.2/rockylinux9/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.2.5-rockylinux9
22 changes: 22 additions & 0 deletions 3.3/opensuse154/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse154

ARG R_VERSION=3.3.3
ARG OS_IDENTIFIER=opensuse-154

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
zypper --non-interactive --no-gpg-checks install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
zypper clean --all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.3/opensuse154/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.3/opensuse154/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.3.3-opensuse154
27 changes: 27 additions & 0 deletions 3.3/rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux9

ARG R_VERSION=3.3.3
ARG OS_IDENTIFIER=rhel-9

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf -y install epel-release && \
dnf -y install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y remove epel-release && \
dnf config-manager --set-disabled crb && \
dnf clean all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.3/rockylinux9/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.3/rockylinux9/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.3.3-rockylinux9
22 changes: 22 additions & 0 deletions 3.4/opensuse154/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse154

ARG R_VERSION=3.4.4
ARG OS_IDENTIFIER=opensuse-154

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
zypper --non-interactive --no-gpg-checks install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
zypper clean --all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.4/opensuse154/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.4/opensuse154/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.4.4-opensuse154
27 changes: 27 additions & 0 deletions 3.4/rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux9

ARG R_VERSION=3.4.4
ARG OS_IDENTIFIER=rhel-9

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf -y install epel-release && \
dnf -y install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y remove epel-release && \
dnf config-manager --set-disabled crb && \
dnf clean all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.4/rockylinux9/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.4/rockylinux9/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.4.4-rockylinux9
22 changes: 22 additions & 0 deletions 3.5/opensuse154/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:opensuse154

ARG R_VERSION=3.5.3
ARG OS_IDENTIFIER=opensuse-154

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
zypper --non-interactive --no-gpg-checks install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
zypper clean --all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.5/opensuse154/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
8 changes: 8 additions & 0 deletions 3.5/opensuse154/hooks/post_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

function add_tag() {
docker tag $IMAGE_NAME $DOCKER_REPO:$1
docker push $DOCKER_REPO:$1
}

add_tag 3.5.3-opensuse154
27 changes: 27 additions & 0 deletions 3.5/rockylinux9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#

ARG BASE_IMAGE=rstudio/r-base
FROM ${BASE_IMAGE}:rockylinux9

ARG R_VERSION=3.5.3
ARG OS_IDENTIFIER=rhel-9

# Install R
RUN wget https://cdn.rstudio.com/r/${OS_IDENTIFIER}/pkgs/R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled crb && \
dnf -y install epel-release && \
dnf -y install ./R-${R_VERSION}-1-1.x86_64.rpm && \
ln -s /opt/R/${R_VERSION}/bin/R /usr/bin/R && \
ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/bin/Rscript && \
ln -s /opt/R/${R_VERSION}/lib/R /usr/lib/R && \
rm R-${R_VERSION}-1-1.x86_64.rpm && \
dnf -y remove epel-release && \
dnf config-manager --set-disabled crb && \
dnf clean all

CMD ["R"]
5 changes: 5 additions & 0 deletions 3.5/rockylinux9/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
volumes:
- ../../test:/test
command: /test/test.sh
Loading

0 comments on commit f987124

Please sign in to comment.