Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@

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:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'push'
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:
Expand Down
7 changes: 4 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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" ]
ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]
Loading