commit 48cd013c9c4c628635b6f808bd881104cd4b5a20 Author: pantonshire Date: Sat May 16 08:37:36 2026 +0100 initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0ad0836 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM docker.io/library/ubuntu:latest +ENV FORCE_UNSAFE_CONFIGURE 1 +RUN apt update && \ + apt install -y build-essential rsync gawk zip wget python3 python3-distutils file \ + libncurses-dev vim ripgrep git swig python3-setuptools + diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..87ae2e1 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +podman run -v ./data:/sdk -w /sdk/openwrt --rm -it localhost/openwrt + diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..64de90e --- /dev/null +++ b/setup.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +podman image exists openwrt || podman build -t openwrt . +mkdir -p data +git clone https://git.openwrt.org/openwrt/openwrt.git data/openwrt +