Public | Automated Build

Last pushed: 2 years ago
Dockerfile
# # Toolchain for building kernel and PRU # FROM ubuntu:16.04 MAINTAINER Kyle Manna <kyle@kylemanna> RUN apt-get update && \ apt-get install -y build-essential git-core gcc-arm-none-eabi \ flex bison vim curl libc6-dev-i386 bc ccache lzop \ sudo lintian && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN mkdir /build WORKDIR /build ENV USE_CCACHE 1 ENV CCACHE_DIR /build/.ccache # # Device Tree Build, branch stolen from: # https://github.com/beagleboard/bb.org-overlays/blob/539a06b5c28d46d41da7cca31fa779a27152aecf/dtc-overlay.sh # RUN git clone --depth 1 --branch bb.org-4.1-dt-overlays5 --single-branch https://github.com/RobertCNelson/dtc && \ cd dtc && \ git checkout -b tested 1e75ebc95be2eaadf1e959e1956e32203a80432e && \ make && \ make check install PREFIX=/usr/local && \ cd - && \ rm -rf dtc # PRU v?.?.? #RUN git clone https://github.com/beagleboard/am335x_pru_package \ # && cd am335x_pru_package \ # && make \ # && make install \ # && cd - \ # && rm -rf am335x_pru_package # # TI's PRU Build tools ENV PRU_CGT /usr/share/ti-cgt-pru_2.1.4 RUN curl -LO http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.1.4/ti_cgt_pru_2.1.4_linux_installer_x86.bin && \ chmod +x ti_cgt_pru_2.1.4_linux_installer_x86.bin && \ ./ti_cgt_pru_2.1.4_linux_installer_x86.bin --mode unattended --prefix /usr/share && \ cd $PRU_CGT/bin && \ for i in *; do ln -s $PWD/$i /usr/local/bin/; done && \ cd - && \ rm ti_cgt_pru_2.1.4_linux_installer_x86.bin COPY docker_entrypoint.sh /root/docker_entrypoint.sh ENTRYPOINT ["/root/docker_entrypoint.sh"]
Source Repository