Dockerfile 757 B

123456789101112131415161718192021
  1. FROM debian:stable
  2. #FROM emile/wheezy
  3. MAINTAINER Émile_morel
  4. # U-boot part
  5. RUN echo deb http://www.emdebian.org/debian unstable main > /etc/apt/sources.list.d/emdebian.list
  6. ENV DEBIAN_FRONTEND noninteractive
  7. ENV DEBCONF_NONINTERACTIVE_SEEN true
  8. ENV LC_ALL C
  9. ENV LANGUAGE C
  10. ENV LANG C
  11. RUN apt-get update
  12. RUN apt-get install --force-yes -y emdebian-archive-keyring
  13. RUN apt-get update
  14. RUN apt-get install --force-yes -y gcc-4.7-arm-linux-gnueabihf ncurses-dev uboot-mkimage build-essential git vim libusb-1.0-0-dev pkg-config bc
  15. RUN ln -s /usr/bin/arm-linux-gnueabihf-gcc-4.7 /usr/bin/arm-linux-gnueabihf-gcc
  16. # install packages for debootstrap
  17. RUN apt-get install --force-yes -y debootstrap dpkg-dev qemu binfmt-support qemu-user-static dpkg-cross