Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

36 рядки
1.2 KiB

  1. # A dockerfile which builds a docker image for building a debian package for
  2. # synapse. The distro to build for is passed as a docker build var.
  3. #
  4. # The default entrypoint expects the synapse source to be mounted as a
  5. # (read-only) volume at /synapse/source, and an output directory at /debs.
  6. #
  7. # A pair of environment variables (TARGET_USERID and TARGET_GROUPID) can be
  8. # passed to the docker container; if these are set, the build script will chown
  9. # the build products accordingly, to avoid ending up with things owned by root
  10. # in the host filesystem.
  11. # Get the distro we want to pull from as a dynamic build variable
  12. ARG distro=""
  13. FROM ${distro}
  14. # Install the build dependencies
  15. RUN apt-get update -qq -o Acquire::Languages=none \
  16. && env DEBIAN_FRONTEND=noninteractive apt-get install \
  17. -yqq --no-install-recommends -o Dpkg::Options::=--force-unsafe-io \
  18. build-essential \
  19. debhelper \
  20. devscripts \
  21. dh-systemd \
  22. dh-virtualenv \
  23. equivs \
  24. lsb-release \
  25. python3-dev \
  26. python3-pip \
  27. python3-setuptools \
  28. python3-venv \
  29. sqlite3 \
  30. wget
  31. WORKDIR /synapse/source
  32. ENTRYPOINT ["bash","/synapse/source/docker/build_debian.sh"]