From 1f1064205f8a58262e6741dfb685d2d6a86514af Mon Sep 17 00:00:00 2001
From: Erik Veld <erik.veld@gmail.com>
Date: Mon, 15 Apr 2024 21:13:06 +0200
Subject: [PATCH] Rename config file

---
 nomad/Dockerfile                       | 3 ++-
 nomad/files/{server.hcl => config.hcl} | 0
 2 files changed, 2 insertions(+), 1 deletion(-)
 rename nomad/files/{server.hcl => config.hcl} (100%)

diff --git a/nomad/Dockerfile b/nomad/Dockerfile
index cf4fabd..bb8b5b2 100644
--- a/nomad/Dockerfile
+++ b/nomad/Dockerfile
@@ -30,6 +30,7 @@ RUN apt-get update && \
   qemu-system-x86 \
   udhcpd \
   iproute2 \
+  git \
   fuse-overlayfs && \
   apt-get clean && rm -rf /var/lib/apt/lists/*
 
@@ -74,7 +75,7 @@ ENV JAVA_HOME=/usr/lib/jvm/openjdk PATH="/usr/lib/jvm/openjdk/bin:$PATH"
 # Create the Nomad directory
 RUN mkdir -p /var/lib/nomad
 
-COPY files/server.hcl /etc/nomad.d/server.hcl
+COPY files/config.hcl /etc/nomad.d/config.hcl
 COPY --chmod=0755 files/nomad.sh /usr/local/bin/nomad.sh
 
 COPY files/nomad.conf /etc/supervisor/conf.d/nomad.conf
\ No newline at end of file
diff --git a/nomad/files/server.hcl b/nomad/files/config.hcl
similarity index 100%
rename from nomad/files/server.hcl
rename to nomad/files/config.hcl
-- 
GitLab