From 635a199ed5cbf03b59f88001a9013395d567f842 Mon Sep 17 00:00:00 2001 From: Evan H // KC2IHX Date: Sun, 30 Nov 2025 08:36:37 -0800 Subject: [PATCH] moved dockerfile for rigctld container build --- compose.yaml | 17 ++++++++--------- rigctld/Dockerfile | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+), 9 deletions(-) create mode 100644 rigctld/Dockerfile diff --git a/compose.yaml b/compose.yaml index a13e425..bc4c4bb 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,15 +2,14 @@ version: '0.1' services: rigctld: build: - context: . - args: - - GIT_RELEASE: abcdef + context: ./rigctld +# args: +# - GIT_RELEASE: abcdef platforms: - "linux/arm64" - network: host - dockerfile: rigctld-build.dockerfile - container_name: rigctld - group_add: dialout +# network: host + container_name: rigctld +# group_add: dialout devices: - "/dev/ttyUSB:/dev/ttyUSB0" ports: 4534:4534 @@ -50,6 +49,6 @@ services: # file: ./runtime_settings.json #volumes: # bpq-data: -networks: - farpn-local: {} +#networks: +# farpn-local: {} # farpn-ygg: {} diff --git a/rigctld/Dockerfile b/rigctld/Dockerfile new file mode 100644 index 0000000..e5adbef --- /dev/null +++ b/rigctld/Dockerfile @@ -0,0 +1,20 @@ +# build rigctld + +FROM debian:latest + +RUN mkdir src +# this might be too much, but let's try it +RUN apt update +RUN apt install -y libconfig-dev autoconf libtool git gcc g++ make cmake libudev-dev libreadline-dev libusb-1.0-0-dev libavahi-common-dev libavahi-client-dev + +# build hamlib/rigctld +RUN <