Skip to content

Commit 235f09f

Browse files
committed
allowing ubuntu in there because sysreqs supports it
1 parent a76cdd3 commit 235f09f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/defaults.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
.debian_platform <- "linux-x86_64-debian-gcc"
1818
.ubuntu_platform <- "linux-x86_64-ubuntu-gcc"
19-
.supported_platforms <- .debian_platform
19+
.supported_platforms <- c(.debian_platform, .ubuntu_platform)
2020

2121
.init_config_file <- function() {
2222
tryCatch(

R/package-installation-methods.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ add_install_instructions <- function(base_dockerfile,
7474

7575
# if platform is debian and system dependencies need to be installed, add the commands
7676
if (length(package_reqs) > 0) {
77-
if (platform == .debian_platform) {
77+
if (platform == .debian_platform || platform == .ubuntu_platform) {
7878
commands <- "export DEBIAN_FRONTEND=noninteractive; apt-get -y update"
7979
install_command <- paste("apt-get install -y",
8080
paste(package_reqs, collapse = " \\\n\t"))

0 commit comments

Comments
 (0)