diff --git a/R/defaults.R b/R/defaults.R index c3c0c51..6de2e6e 100644 --- a/R/defaults.R +++ b/R/defaults.R @@ -16,7 +16,7 @@ .debian_platform <- "linux-x86_64-debian-gcc" .ubuntu_platform <- "linux-x86_64-ubuntu-gcc" -.supported_platforms <- c(.debian_platform, .ubuntu_platform) +.supported_platforms <- .debian_platform .init_config_file <- function() { tryCatch( diff --git a/R/package-installation-methods.R b/R/package-installation-methods.R index ea1c820..b4e1981 100644 --- a/R/package-installation-methods.R +++ b/R/package-installation-methods.R @@ -74,7 +74,7 @@ add_install_instructions <- function(base_dockerfile, # if platform is debian and system dependencies need to be installed, add the commands if (length(package_reqs) > 0) { - if (platform == .debian_platform || platform == .ubuntu_platform) { + if (platform == .debian_platform) { commands <- "export DEBIAN_FRONTEND=noninteractive; apt-get -y update" install_command <- paste("apt-get install -y", paste(package_reqs, collapse = " \\\n\t"))