fix band steering

added git autocompletion to devcontainer
This commit is contained in:
2026-07-12 16:52:15 +00:00
parent fe1aa3cf7b
commit eb1f168cc6
3 changed files with 55 additions and 54 deletions
+4
View File
@@ -23,6 +23,7 @@ RUN apt-get update && apt-get install -y \
time \
sudo \
locales \
bash-completion \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
@@ -36,6 +37,9 @@ RUN adduser openwrt --disabled-password --gecos "" && \
USER openwrt
WORKDIR /home/openwrt
RUN curl -s https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash \
&& printf "\n# Git shell autocomplete\nif [ -f ~/.git-completion.bash ]; then\n . ~/.git-completion.bash\nfi\n" >> ~/.bashrc
RUN git clone https://github.com/openwrt/openwrt.git && \
mkdir -p /home/openwrt/openwrt/package/OpenUniFi