Dockerfile 1.0 KB

123456789101112131415161718192021222324252627282930
  1. # This Dockerfile generates the docker image that gets used by Gitlab CI
  2. # To build it:
  3. # sudo docker build -t buildroot/base support/docker
  4. # sudo docker push buildroot/base
  5. FROM debian:stable
  6. LABEL maintainer="Buildroot mailing list <buildroot@buildroot.org>" \
  7. vendor="Buildroot" \
  8. description="Container with everything needed to run Buildroot"
  9. # Setup environment
  10. ENV DEBIAN_FRONTEND noninteractive
  11. RUN dpkg --add-architecture i386
  12. # The container has no package lists, so need to update first
  13. RUN apt-get update -y -qq
  14. RUN apt-get install -y -qq --no-install-recommends \
  15. build-essential cmake libc6:i386 gcc-multilib \
  16. bc ca-certificates file locales rsync \
  17. cvs bzr git mercurial subversion wget \
  18. cpio unzip \
  19. libncurses5-dev \
  20. python-nose2 python-pexpect qemu-system-arm qemu-system-x86
  21. RUN apt-get -q -y autoremove
  22. RUN apt-get -q -y clean
  23. # To be able to generate a toolchain with locales, enable one UTF-8 locale
  24. RUN sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen
  25. RUN /usr/sbin/locale-gen