Containerfile.apt 732 B

1234567891011121314151617181920212223242526
  1. ARG ARG_FROM=debian:12 # default value to avoid warning
  2. FROM $ARG_FROM
  3. ARG DOCS=ubuntu_docs.sh
  4. ARG DOCS_PDF=ubuntu_docs_pdf.sh
  5. ENV DEBIAN_FRONTEND=noninteractive
  6. ARG TZ=Europe/Vienna
  7. # relative to the location of the dockerfile
  8. COPY --chmod=777 ${DOCS} /temp/host_packages_docs.sh
  9. COPY --chmod=777 ${DOCS_PDF} /temp/host_packages_docs_pdf.sh
  10. RUN ln -fs "/usr/share/zoneinfo/$TZ" /etc/localtime \
  11. && apt-get update \
  12. && apt-get install -y sudo \
  13. && yes | /temp/host_packages_docs.sh \
  14. && yes | /temp/host_packages_docs_pdf.sh \
  15. && apt-get --yes autoremove \
  16. && apt-get clean \
  17. && rm -rf /temp
  18. RUN git config --global --add safe.directory /docs
  19. ENTRYPOINT ["/usr/bin/env", "make", "-C", "documentation/"]
  20. CMD ["publish"]