From 48cd013c9c4c628635b6f808bd881104cd4b5a20 Mon Sep 17 00:00:00 2001 From: pantonshire Date: Sat, 16 May 2026 08:37:36 +0100 Subject: [PATCH] initial commit --- Dockerfile | 6 ++++++ run.sh | 3 +++ setup.sh | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 Dockerfile create mode 100755 run.sh create mode 100755 setup.sh 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 +