mirror of
https://github.com/alljoynsville/openwrt-builder
synced 2025-06-06 15:36:24 +00:00
Initial commit
This commit is contained in:
commit
74d078e330
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM ubuntu:13.10
|
||||
|
||||
RUN apt-get update &&\
|
||||
apt-get install -y git-core subversion build-essential gcc-multilib \
|
||||
libncurses5-dev zlib1g-dev gawk flex gettext &&\
|
||||
apt-get clean &&\
|
||||
useradd -m openwrt &&\
|
||||
echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt &&\
|
||||
sudo -iu openwrt git clone git://git.openwrt.org/12.09/openwrt.git &&\
|
||||
sudo -iu openwrt openwrt/scripts/feeds update
|
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
Docker OpenWRT buildroot
|
||||
========================
|
||||
|
||||
This is a docker container for the [OpenWRT](https://openwrt.org/)
|
||||
[buildroot](http://wiki.openwrt.org/doc/howto/buildroot.exigence).
|
||||
|
||||
Because the build system requires that its command are not executed by root,
|
||||
the user `openwrt` was created. The buildroot can be found in
|
||||
`/home/openwrt/openwrt`.
|
||||
|
||||
To run a shell in the buildroot, execute the following command:
|
||||
```sh
|
||||
docker run -t -i noonien/openwrt-buildroot sudo -iu openwrt bash
|
||||
```
|
||||
|
||||
More information on how to use this buildroot can be found on the
|
||||
[OpenWRT wiki](http://wiki.openwrt.org/doc/howto/build).
|
Loading…
x
Reference in New Issue
Block a user