From 02e4f78d0e3be5098333263cfafb2cc3debdff81 Mon Sep 17 00:00:00 2001
From: Hemna <waboring@hemna.com>
Date: Tue, 27 Dec 2022 15:44:32 -0500
Subject: [PATCH] Dockerfile now produces aprsd.conf

This patch updates Dockerfile and Dockerfile-dev
to produce aprsd.conf instead of aprsd.yaml
---
 docker/Dockerfile     | 4 ++--
 docker/Dockerfile-dev | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index ec8109a..ae52a68 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -41,7 +41,7 @@ RUN pip install aprsd==$APRSD_PIP_VERSION
 # Ensure /config is there with a default config file
 USER root
 RUN mkdir -p /config
-RUN aprsd sample-config > /config/aprsd.yml
+RUN aprsd sample-config > /config/aprsd.conf
 RUN chown -R $APRS_USER:$APRS_USER /config
 
 # override this to run another configuration
@@ -53,4 +53,4 @@ ADD bin/run.sh /usr/local/bin
 ENTRYPOINT ["/usr/local/bin/run.sh"]
 
 HEALTHCHECK --interval=5m --timeout=12s --start-period=30s \
-    CMD aprsd healthcheck --config /config/aprsd.yml --url http://localhost:8001/stats
+    CMD aprsd healthcheck --config /config/aprsd.conf --url http://localhost:8001/stats
diff --git a/docker/Dockerfile-dev b/docker/Dockerfile-dev
index f1a9dc0..76ce948 100644
--- a/docker/Dockerfile-dev
+++ b/docker/Dockerfile-dev
@@ -1,5 +1,5 @@
 # syntax=docker/dockerfile:1
-FROM ubuntu:focal as aprsd
+FROM ubuntu:22.04
 
 # Dockerfile for building a container during aprsd development.
 ARG BRANCH=master
@@ -55,7 +55,7 @@ RUN ls -al /usr/local/bin
 RUN ls -al /usr/bin
 RUN which aprsd
 RUN mkdir -p /config
-RUN aprsd sample-config > /config/aprsd.yml
+RUN aprsd sample-config > /config/aprsd.conf
 RUN chown -R $APRS_USER:$APRS_USER /config
 
 # override this to run another configuration
@@ -67,4 +67,4 @@ ADD bin/run.sh $HOME/
 ENTRYPOINT ["/home/aprs/run.sh"]
 
 HEALTHCHECK --interval=5m --timeout=12s --start-period=30s \
-    CMD aprsd healthcheck --config /config/aprsd.yml --url http://localhost:8001/stats
+    CMD aprsd healthcheck --config /config/aprsd.conf --url http://localhost:8001/stats