Created
November 28, 2017 21:45
-
-
Save ril3y/0a8dd809d2f3db55824d80abccd7d23a to your computer and use it in GitHub Desktop.
Sonix98600 Tool Chain Docker File
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 sysbot/fedora18-i386 | |
MAINTAINER <[email protected]> | |
ENV PERL_MM_USE_DEFAULT 1 | |
RUN yum update | |
RUN yum install tar -y ; yum clean all | |
RUN yum group install "Development Tools" -y ; yum clean all | |
RUN yum install tar cpan vim lzop lzma ncurses-devel wget cpanminus -y ; yum clean all | |
RUN cpanm Test::More \ | |
YAML \ | |
OLE::Storage_Lite \ | |
IO::Stringy \ | |
Digest::MD5 \ | |
Crypt::RC4 \ | |
Spreadsheet::ParseExcel \ | |
Text::CSV | |
RUN cpanm Encode \ | |
Digest::SHA | |
RUN cpan install Encode::Detect | |
RUN mkdir -p /root/sonix9600 && cd /root/sonix9600/ | |
COPY SONIX9600-Toolchain /root/sonix9600 | |
WORKDIR /root/sonix9600 | |
RUN ./sdk.unpack | |
RUN cd snx_sdk/buildscript/ && ./setup_env.sh | |
ENV CC /root/sonix9600/snx_sdk/toolchain/crosstool-4.5.2/bin/ | |
ENV LDFLAGS --host=arm-unknown-linux-uclibcgnueabi | |
ENTRYPOINT /bin/bash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment