Created
February 7, 2019 16:54
-
-
Save yjwong/4207a2490f636762d2bc74f32cfa0444 to your computer and use it in GitHub Desktop.
Dockerfile for Padavan RT-N56U Toolchain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt-get update && \ | |
apt-get upgrade -y && \ | |
apt-get install -y --no-install-recommends \ | |
autoconf \ | |
automake \ | |
bison \ | |
build-essential \ | |
ca-certificates \ | |
flex \ | |
gawk \ | |
gettext \ | |
gperf \ | |
libtool \ | |
pkg-config \ | |
sudo \ | |
zlib1g-dev \ | |
libgmp3-dev \ | |
libmpfr-dev \ | |
libmpc-dev \ | |
texinfo \ | |
git \ | |
vim && \ | |
rm -rf /var/lib/apt/lists | |
RUN cd /opt && \ | |
git clone --depth=1 https://bitbucket.org/padavan/rt-n56u.git | |
RUN cd /opt/rt-n56u/toolchain-mipsel && \ | |
./clean_sources && \ | |
./build_toolchain | |
WORKDIR /opt/rt-n56u/trunk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment