Skip to content

Commit

Permalink
# improve ubuntu-openwrt
Browse files Browse the repository at this point in the history
  • Loading branch information
czy21 committed Sep 21, 2024
1 parent ddc913c commit bfd85de
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions server/docker/os/ubuntu-openwrt/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:noble
FROM ubuntu:22.04

RUN apt-get update
# basic pkg
Expand All @@ -8,8 +8,12 @@ RUN echo -n "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/99-custom
RUN useradd -d /home/{{ param_user_ops }} -l -m -s /bin/bash {{ param_user_ops }} && usermod -aG sudo {{ param_user_ops }}

# https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem
RUN apt install -y build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev python3-setuptools rsync swig unzip zlib1g-dev file wget
RUN apt install -y qemu-utils
# official pkg
RUN apt install -y build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev python3-distutils python3-setuptools rsync swig unzip zlib1g-dev file wget

# addition pkg
RUN apt install -y qemu-utils libelf-dev

RUN apt-get clean

WORKDIR /data

0 comments on commit bfd85de

Please sign in to comment.