Merge branch 'master' into jc-ubuntu-20
This commit is contained in:
commit
9ad80adba4
11 changed files with 26 additions and 24 deletions
|
|
@ -110,10 +110,11 @@ sudo yum install R-${R_VERSION}-1-1.x86_64.rpm
|
||||||
|
|
||||||
#### SUSE Linux
|
#### SUSE Linux
|
||||||
|
|
||||||
Enable the [Science](https://en.opensuse.org/openSUSE:Science_Repositories) repository (SLES 12 only):
|
Enable the Python backports repository (SLES 12 only):
|
||||||
```bash
|
```bash
|
||||||
# SLES 12
|
# SLES 12
|
||||||
sudo zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/science/SLE_12/science.repo
|
VERSION="SLE_$(grep "^VERSION=" /etc/os-release | sed -e 's/VERSION=//' -e 's/"//g' -e 's/-/_/')"
|
||||||
|
sudo zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/backports/$VERSION/devel:languages:python:backports.repo
|
||||||
```
|
```
|
||||||
|
|
||||||
Download the rpm package:
|
Download the rpm package:
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,8 @@ RUN yum -y update \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
# Install pip
|
# Install pip
|
||||||
RUN curl "https://bootstrap.pypa.io/2.6/get-pip.py" -o "get-pip.py" && \
|
RUN yum install -y epel-release && \
|
||||||
python get-pip.py
|
yum install -y python-pip
|
||||||
|
|
||||||
# Install AWS CLI.
|
# Install AWS CLI.
|
||||||
RUN pip install awscli --upgrade --user && \
|
RUN pip install awscli --upgrade --user && \
|
||||||
|
|
|
||||||
|
|
@ -36,12 +36,12 @@ fpm \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
--after-install /post-install.sh \
|
--after-install /post-install.sh \
|
||||||
--after-remove /before-remove.sh \
|
--after-remove /before-remove.sh \
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,12 @@ fpm \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
--after-install /post-install.sh \
|
--after-install /post-install.sh \
|
||||||
--after-remove /before-remove.sh \
|
--after-remove /before-remove.sh \
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,12 @@ fpm \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
--after-install /post-install.sh \
|
--after-install /post-install.sh \
|
||||||
--after-remove /before-remove.sh \
|
--after-remove /before-remove.sh \
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,12 @@ fpm \
|
||||||
-t deb \
|
-t deb \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
-p /tmp/output/debian-9/ \
|
-p /tmp/output/debian-9/ \
|
||||||
-d ca-certificates \
|
-d ca-certificates \
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,12 @@ fpm \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
--after-install /post-install.sh \
|
--after-install /post-install.sh \
|
||||||
--after-remove /before-remove.sh \
|
--after-remove /before-remove.sh \
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,12 @@ fpm \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
--after-install /post-install.sh \
|
--after-install /post-install.sh \
|
||||||
--after-remove /before-remove.sh \
|
--after-remove /before-remove.sh \
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,12 @@ fpm \
|
||||||
-t deb \
|
-t deb \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
-p /tmp/output/ubuntu-1604/ \
|
-p /tmp/output/ubuntu-1604/ \
|
||||||
-d g++ \
|
-d g++ \
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,12 @@ fpm \
|
||||||
-t deb \
|
-t deb \
|
||||||
-v 1 \
|
-v 1 \
|
||||||
-n R-${R_VERSION} \
|
-n R-${R_VERSION} \
|
||||||
--vendor "RStudio Inc." \
|
--vendor "RStudio, PBC" \
|
||||||
--deb-priority "optional" \
|
--deb-priority "optional" \
|
||||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||||
--url "http://www.r-project.org/" \
|
--url "http://www.r-project.org/" \
|
||||||
--description "GNU R statistical computation and graphics system" \
|
--description "GNU R statistical computation and graphics system" \
|
||||||
--maintainer "RStudio Inc https://github.com/rstudio/r-builds" \
|
--maintainer "RStudio, PBC https://github.com/rstudio/r-builds" \
|
||||||
--license "GPL-2" \
|
--license "GPL-2" \
|
||||||
-p /tmp/output/ubuntu-1804/ \
|
-p /tmp/output/ubuntu-1804/ \
|
||||||
-d g++ \
|
-d g++ \
|
||||||
|
|
|
||||||
|
|
@ -291,7 +291,7 @@ install_pre () {
|
||||||
install_epel "${ver}"
|
install_epel "${ver}"
|
||||||
;;
|
;;
|
||||||
"SLES12")
|
"SLES12")
|
||||||
install_sci
|
install_python_backports
|
||||||
;;
|
;;
|
||||||
"LEAP12" | "LEAP15" | "SLES15")
|
"LEAP12" | "LEAP15" | "SLES15")
|
||||||
;;
|
;;
|
||||||
|
|
@ -317,9 +317,10 @@ install_epel () {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# Installs the Science repository for SLES 12
|
# Installs the Python backports repository for SLES 12
|
||||||
install_sci () {
|
install_python_backports () {
|
||||||
${SUDO} zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/science/SLE_12/science.repo
|
SLE_VERSION="SLE_$(grep "^VERSION=" /etc/os-release | sed -e 's/VERSION=//' -e 's/"//g' -e 's/-/_/')"
|
||||||
|
${SUDO} zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/backports/$SLE_VERSION/devel:languages:python:backports.repo
|
||||||
}
|
}
|
||||||
|
|
||||||
do_download () {
|
do_download () {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue