Skip to content

Commit

Permalink
Allow building rocker/rstudio:latest-daily on linux/arm64 platform …
Browse files Browse the repository at this point in the history
…with skipping install quarto CLI (#578)
  • Loading branch information
eitsupi committed Dec 17, 2022
1 parent 883e277 commit 87ff7fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/install_quarto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ QUARTO_VERSION=${1:-${QUARTO_VERSION:-"default"}}
# Only amd64 build can be installed now
ARCH=$(dpkg --print-architecture)

# workaround for arm64 RStudio Daily build without quarto cli
RSTUDIO_VERSION=${RSTUDIO_VERSION:-"stable"}
if [ "${ARCH}" = "arm64" ] && [ "${RSTUDIO_VERSION}" = "daily" ]; then
echo "Skip installation of quarto cli..."
exit 0
fi

# a function to install apt packages only if they are not installed
function apt_install() {
if ! dpkg -s "$@" >/dev/null 2>&1; then
Expand Down

0 comments on commit 87ff7fe

Please sign in to comment.