Kromek Radangel gamma spectrometer USB HID daemon and WebUI. https://git.unino.de/pvivell/radangel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Define builder target
  2. ARG DEB_RELEASE
  3. FROM debian:${DEB_RELEASE}-slim as builder
  4. # Environment PATH HOME HOSTNAME
  5. # ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  6. # ENV HOME /
  7. # Define Debian repos
  8. ARG DEB_RELEASE
  9. RUN printf '#------------------------------------------------------------------------------#\
  10. \n# OFFICIAL DEBIAN REPOS\
  11. \n#------------------------------------------------------------------------------#\
  12. \n# apt install curl wget apt-transport-https dirmngr\
  13. \n\
  14. \n###### Debian Main Repos\
  15. \ndeb http://deb.debian.org/debian/ '${DEB_RELEASE}' main # contrib non-free\
  16. \ndeb-src http://deb.debian.org/debian/ '${DEB_RELEASE}' main # contrib non-free\
  17. \n\
  18. \n# stretch-updates, previously known as "volatile"\
  19. \ndeb http://deb.debian.org/debian/ '${DEB_RELEASE}'-updates main # contrib non-free\
  20. \ndeb-src http://deb.debian.org/debian/ '${DEB_RELEASE}'-updates main # contrib non-free\
  21. \n\
  22. \ndeb http://deb.debian.org/debian-security '${DEB_RELEASE}'/updates main\
  23. \ndeb-src http://deb.debian.org/debian-security '${DEB_RELEASE}'/updates main\
  24. \n\
  25. \n# stretch-backports, previously on backports.debian.org\
  26. \ndeb http://ftp.debian.org/debian '${DEB_RELEASE}'-backports main\
  27. \ndeb-src http://ftp.debian.org/debian '${DEB_RELEASE}'-backports main\
  28. \n' > /etc/apt/sources.list
  29. # Build deps and clean up
  30. ARG BUILD_DEPS
  31. RUN export DEBIAN_FRONTEND=noninteractive && \
  32. dpkg --add-architecture armhf && \
  33. apt-get -q update && \
  34. apt-get -qy -o Dpkg::Use-Pty=0 upgrade && \
  35. apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends apt-utils && \
  36. apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends ${BUILD_DEPS} \
  37. build-essential crossbuild-essential-armhf debhelper ca-certificates curl git iproute2 wget nano && \
  38. apt-get clean && rm -rf /var/lib/apt/lists/*
  39. # Default command
  40. CMD ["bash"]