From 9fabdf6916d3bb4fd792fafa633df16c3770d064 Mon Sep 17 00:00:00 2001 From: hcastc00 Date: Fri, 23 Oct 2026 11:27:15 +0200 Subject: [PATCH] Update CI workflow and Dockerfile for improved compatibility --- .github/workflows/main.yml | 8 ++++---- src/Dockerfile | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bae9920..ba3de50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,13 +10,13 @@ on: jobs: build-test: - runs-on: ubuntu-16.04 + runs-on: ubuntu-latest name: Build test if: github.event_name != 'push' steps: - name: Checkout uses: actions/checkout@v2 - - run: docker-compose build + - run: docker compose build release: name: Release @@ -25,9 +25,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup node - uses: actions/setup-node@v1 + uses: actions/setup-node@v7 with: - node-version: "18.x" + node-version: "22.23.4" - name: Publish run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset env: diff --git a/src/Dockerfile b/src/Dockerfile index b4bc64f..11902cb 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,9 +1,10 @@ -FROM alpine +ARG BASE_IMAGE=alpine:3.23.7 +FROM ${BASE_IMAGE} # Update the repos RUN apk update && apk upgrade # Install libraries -RUN apk add --no-cache hostapd dnsmasq bash iw openrc docker iproute2 iptables +RUN apk add --no-cache 'ca-certificates>=20261020' 'ca-certificates-bundle>=20261020' hostapd dnsmasq bash iw openrc docker iproute2 iptables # Make hostapd and dnsmasq to run on startup # RUN rc-update add hostapd && rc-update add dnsmasq @@ -12,4 +13,4 @@ RUN apk add --no-cache hostapd dnsmasq bash iw openrc docker iproute2 iptables COPY entrypoint.sh /usr/bin/entrypoint.sh RUN chmod u+x /usr/bin/entrypoint.sh -ENTRYPOINT [ "/usr/bin/entrypoint.sh" ] \ No newline at end of file +ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]