Dockerfile 758 B

12345678910111213141516171819202122232425262728293031
  1. FROM cryptech-builder:base
  2. # Stuff we need we need to build firmware and client packages. This
  3. # stuff is much more likely to change than the XiLinx tools, so we put
  4. # it at the end of the build where we can use normal Docker tooling.
  5. RUN sed -i -E \
  6. -e '/stretch-backports/d' \
  7. -e '/ stretch /{; h; s/ stretch / stretch-backports /; x; G; }' \
  8. /etc/apt/sources.list && \
  9. apt-get update && \
  10. apt-get upgrade --with-new-pkgs -y && \
  11. apt-get install -y \
  12. avr-libc \
  13. binutils-avr \
  14. debootstrap/stretch-backports \
  15. distro-info-data \
  16. gcc-arm-none-eabi \
  17. gcc-avr \
  18. git \
  19. pbuilder \
  20. python-crypto \
  21. python-serial \
  22. python-yaml \
  23. reprepro \
  24. ubuntu-archive-keyring \
  25. ubuntu-dev-tools
  26. USER builder
  27. WORKDIR /home/builder
  28. CMD /bin/bash