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
|
||||
|
||||
Enable the [Science](https://en.opensuse.org/openSUSE:Science_Repositories) repository (SLES 12 only):
|
||||
Enable the Python backports repository (SLES 12 only):
|
||||
```bash
|
||||
# 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:
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ RUN yum -y update \
|
|||
&& yum clean all
|
||||
|
||||
# Install pip
|
||||
RUN curl "https://bootstrap.pypa.io/2.6/get-pip.py" -o "get-pip.py" && \
|
||||
python get-pip.py
|
||||
RUN yum install -y epel-release && \
|
||||
yum install -y python-pip
|
||||
|
||||
# Install AWS CLI.
|
||||
RUN pip install awscli --upgrade --user && \
|
||||
|
|
|
|||
|
|
@ -36,12 +36,12 @@ fpm \
|
|||
-t rpm \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
--after-install /post-install.sh \
|
||||
--after-remove /before-remove.sh \
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ fpm \
|
|||
-t rpm \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
--after-install /post-install.sh \
|
||||
--after-remove /before-remove.sh \
|
||||
|
|
|
|||
|
|
@ -20,12 +20,12 @@ fpm \
|
|||
-t rpm \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
--after-install /post-install.sh \
|
||||
--after-remove /before-remove.sh \
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ fpm \
|
|||
-t deb \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
-p /tmp/output/debian-9/ \
|
||||
-d ca-certificates \
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ fpm \
|
|||
-t rpm \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
--after-install /post-install.sh \
|
||||
--after-remove /before-remove.sh \
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@ fpm \
|
|||
-t rpm \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
--after-install /post-install.sh \
|
||||
--after-remove /before-remove.sh \
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ fpm \
|
|||
-t deb \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
-p /tmp/output/ubuntu-1604/ \
|
||||
-d g++ \
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ fpm \
|
|||
-t deb \
|
||||
-v 1 \
|
||||
-n R-${R_VERSION} \
|
||||
--vendor "RStudio Inc." \
|
||||
--vendor "RStudio, PBC" \
|
||||
--deb-priority "optional" \
|
||||
--deb-field 'Bugs: https://github.com/rstudio/r-builds/issues' \
|
||||
--url "http://www.r-project.org/" \
|
||||
--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" \
|
||||
-p /tmp/output/ubuntu-1804/ \
|
||||
-d g++ \
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ install_pre () {
|
|||
install_epel "${ver}"
|
||||
;;
|
||||
"SLES12")
|
||||
install_sci
|
||||
install_python_backports
|
||||
;;
|
||||
"LEAP12" | "LEAP15" | "SLES15")
|
||||
;;
|
||||
|
|
@ -317,9 +317,10 @@ install_epel () {
|
|||
esac
|
||||
}
|
||||
|
||||
# Installs the Science repository for SLES 12
|
||||
install_sci () {
|
||||
${SUDO} zypper --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/science/SLE_12/science.repo
|
||||
# Installs the Python backports repository for SLES 12
|
||||
install_python_backports () {
|
||||
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 () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue