Skip to content

Commit

Permalink
Update Earthfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerGillson authored Dec 21, 2023
1 parent e9e9729 commit 3e2b065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARG no_proxy=${NO_PROXY}
ARG PROXY_CERT_PATH
ARG UPDATE_KERNEL=false
ARG TWO_NODE=false
# You can use either sqlite or postgres as backend
# You can use either sqlite or postgres
ARG TWO_NODE_BACKEND=sqlite
ARG MARMOT_VERSION=0.8.7-beta.1

Expand All @@ -49,6 +49,7 @@ ELSE IF [ "$OS_DISTRIBUTION" = "rhel" ] || [ "$OS_DISTRIBUTION" = "sles" ]
ARG BASE_IMAGE
END

# Determine PG config dir (only relevant if TWO_NODE=true)
IF [ "$OS_DISTRIBUTION" = "ubuntu" ]
IF [ "$TWO_NODE_BACKEND" = "postgres" ]
ARG PG_CONF_DIR=/etc/postgresql/16/main
Expand All @@ -59,7 +60,6 @@ ELSE IF [ "$OS_DISTRIBUTION" = "opensuse-leap" ]
END
END


IF [[ "$BASE_IMAGE" =~ "ubuntu-20-lts-arm-nvidia-jetson-agx-orin" ]]
ARG IS_JETSON=true
END
Expand Down

0 comments on commit 3e2b065

Please sign in to comment.