Skip to content

Commit

Permalink
Revert "allowing ubuntu in there because sysreqs supports it"
Browse files Browse the repository at this point in the history
This reverts commit 235f09f.
  • Loading branch information
muschellij2 committed Oct 14, 2021
1 parent cc23739 commit 3606a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/defaults.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion R/package-installation-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 3606a4b

Please sign in to comment.