Files
OpenUniFi/.devcontainer/Dockerfile
T
2026-07-10 15:44:09 +02:00

36 lines
713 B
Docker

FROM debian:trixie
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
clang \
flex \
bison \
g++ \
gawk \
gettext \
git \
libncurses-dev \
libssl-dev \
python3 \
rsync \
unzip \
zlib1g-dev \
file \
wget \
patch \
time \
sudo \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN adduser openwrt --disabled-password --gecos "" && \
echo "openwrt ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER openwrt
WORKDIR /home/openwrt
RUN git clone https://github.com/openwrt/openwrt.git && \
mkdir -p /home/openwrt/openwrt/package/OpenUniFi
WORKDIR /home/openwrt/openwrt/package/OpenUniFi