Kromek Radangel gamma spectrometer USB HID daemon and WebUI. https://git.unino.de/pvivell/radangel
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Dockerfile 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 # contrib non-free\
  23. \ndeb-src http://deb.debian.org/debian-security '${DEB_RELEASE}'/updates main # contrib non-free\
  24. \n\
  25. \n# stretch-backports, previously on backports.debian.org\
  26. \ndeb http://deb.debian.org/debian '${DEB_RELEASE}'-backports main # contrib non-free\
  27. \ndeb-src http://deb.debian.org/debian '${DEB_RELEASE}'-backports main # contrib non-free\
  28. \n' > /etc/apt/sources.list
  29. # Build deps and clean up
  30. # Crossbuilding: https://wiki.debian.org/CrossCompiling#Building_with_dpkg-buildpackage
  31. ARG BUILD_DEPS
  32. ARG BUILD_ARCH
  33. RUN export DEBIAN_FRONTEND=noninteractive && \
  34. for ARCH in ${BUILD_ARCH} ; do \
  35. dpkg --add-architecture ${ARCH} ; \
  36. done && \
  37. apt-get -q update && \
  38. apt-get -qy -o Dpkg::Use-Pty=0 upgrade && \
  39. apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends apt-utils && \
  40. apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends ${BUILD_DEPS} \
  41. apt-utils build-essential debhelper ca-certificates curl git iproute2 wget nano && \
  42. for ARCH in ${BUILD_ARCH} ; do \
  43. apt-get -qy -o Dpkg::Use-Pty=0 install --no-install-recommends \
  44. crossbuild-essential-${ARCH} $(printf "%s:${ARCH} " ${BUILD_DEPS}) ; \
  45. done && \
  46. apt-get clean && rm -rf /var/lib/apt/lists/*
  47. # Default command
  48. CMD ["bash"]