IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
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.

Fockerfile 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. base: freebsd-11.2
  2. steps:
  3. - run:
  4. - ASSUME_ALWAYS_YES=yes pkg bootstrap
  5. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install gmake go git git-lfs ca_root_nss
  6. - run:
  7. - ASSUME_ALWAYS_YES=yes pkg remove go
  8. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install subversion
  9. - svn checkout --depth immediates https://svn.FreeBSD.org/ports/tags/RELEASE_12_1_0 ports-12.1.0
  10. - cd ports-12.1.0
  11. - svn update --set-depth immediates lang
  12. - svn update --set-depth infinity lang/go
  13. - svn update --set-depth infinity lang/go14
  14. - svn update --set-depth infinity Mk
  15. - svn update --set-depth infinity Templates
  16. - svn update --set-depth infinity Tools
  17. - svn update --set-depth infinity Keywords
  18. - cd lang/go
  19. - ALLOW_UNSUPPORTED_SYSTEM=yes BATCH=yes make install clean
  20. - cd /
  21. - rm -rvf /ports-12.1.0
  22. - run:
  23. - ASSUME_ALWAYS_YES=yes pkg remove go14
  24. - svn checkout --depth immediates https://svn.FreeBSD.org/ports/head ports-head
  25. - cd ports-head
  26. - svn update --set-depth immediates www
  27. - svn update --set-depth infinity www/gitea
  28. - svn update --set-depth infinity Mk
  29. - svn update --set-depth infinity Templates
  30. - svn update --set-depth infinity Tools
  31. - svn update --set-depth infinity Keywords
  32. - cd www/gitea
  33. - ALLOW_UNSUPPORTED_SYSTEM=yes BATCH=yes make install clean
  34. - cd /
  35. - rm -rvf /ports-head
  36. - run:
  37. - ASSUME_ALWAYS_YES=yes pkg remove gmake go
  38. - ASSUME_ALWAYS_YES=yes pkg autoremove
  39. - run:
  40. - mkdir -p /var/db/gitea
  41. - sysrc sshd_enable=NO
  42. - sysrc gitea_enable=YES
  43. - sysrc syslogd_flags="-ss"
  44. - sed -i -e 's/DISABLE_REGISTRATION[ \t]*=[ \t]*false/DISABLE_REGISTRATION = true/g' /usr/local/etc/gitea/conf/app.ini