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" ]