diff --git a/ubuntu-node/build/Dockerfile b/ubuntu-node/build/Dockerfile index df8f91b..1e4ec9a 100644 --- a/ubuntu-node/build/Dockerfile +++ b/ubuntu-node/build/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu +FROM node RUN apt-get update \ && apt-get install -y \ @@ -8,6 +8,7 @@ RUN apt-get update \ vim \ nano \ wget \ + bash \ && rm -rf /var/lib/apt/lists/* ARG USER=coder diff --git a/ubuntu-node/main.tf b/ubuntu-node/main.tf index 46a11f9..e9237a7 100644 --- a/ubuntu-node/main.tf +++ b/ubuntu-node/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { coder = { source = "coder/coder" - version = "~> 0.7.0" + version = "~> 0.8.2" } docker = { source = "kreuzwerker/docker" @@ -54,7 +54,7 @@ resource "coder_agent" "main" { startup_script = <<-EOT set -e # Base Script - curl -fsSL https://gitea.nicholaspease.com/npease/CoderTemplatesV2/raw/branch/main/base.sh | sh + curl -fsSL https://gitea.nicholaspease.com/npease/CoderTemplatesV2/raw/branch/main/container-scripts/base.sh | sh # WakaAPI Setup echo "[settings]" >> ~/.wakatime.cfg && echo "api_url = ${var.waka_api_url}" >> ~/.wakatime.cfg && echo "api_key = ${var.waka_api_key}" >> ~/.wakatime.cfg # Clone Git Repo