Skip to content

Instantly share code, notes, and snippets.

@yjwong
Created February 7, 2019 16:54
Show Gist options
  • Save yjwong/4207a2490f636762d2bc74f32cfa0444 to your computer and use it in GitHub Desktop.
Save yjwong/4207a2490f636762d2bc74f32cfa0444 to your computer and use it in GitHub Desktop.
Dockerfile for Padavan RT-N56U Toolchain
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