1. 02 4月, 2021 5 次提交
  2. 01 4月, 2021 4 次提交
  3. 21 3月, 2021 1 次提交
    • T
      Enable multi-architecture docker image builds · 886dd04b
      Tom Wiesing 提交于
      Previously, the Dockerfile downloaded 'docker-gen' and 'forego' binaries
      during build time. This caused a problem as it hard-coded the amd64
      architecture for the images.
      
      This commit updates both 'Dockerfile' and 'Dockerfile.alpine' to build
      the `forego` and `docker-gen` executables from scratch instead of
      downloading binaries directly.
      
      This is achieved using multi-stage builds [1]. Two seperate stages first
      build the binaries, and are then copied over to the final stage.
      
      The advantage of this change is two-fold: First, it enables building
      this image on architectures other than amd64. Secondly it adds trust by
      not adding external binaries to the docker image.
      
      This modified version passes the test both a linux desktop (amd64) as
      well as a raspberry pi (armv7) with some caveats:
      
      - On armv7, a modified version of the `jwilder/docker-gen` image is
      required. See a seperate PR at [2].
      
      - The 'test_dhparam_is_generated_if_missing' test fails. This also
      doesn't currently pass on master.
      
      [1] https://docs.docker.com/develop/develop-images/multistage-build/ [2]
      https://github.com/jwilder/docker-gen/pull/327
      886dd04b
  4. 18 3月, 2021 1 次提交
  5. 07 12月, 2020 1 次提交
  6. 02 12月, 2020 1 次提交
  7. 31 10月, 2020 1 次提交
  8. 09 10月, 2020 2 次提交
  9. 30 6月, 2020 3 次提交
  10. 15 6月, 2020 1 次提交
  11. 09 5月, 2020 1 次提交
  12. 26 3月, 2020 2 次提交
  13. 21 3月, 2020 1 次提交
  14. 03 3月, 2020 2 次提交
  15. 01 3月, 2020 2 次提交
  16. 28 2月, 2020 1 次提交
  17. 12 2月, 2020 1 次提交
  18. 10 2月, 2020 2 次提交
  19. 30 1月, 2020 1 次提交
  20. 04 12月, 2019 1 次提交
  21. 08 11月, 2019 2 次提交
  22. 03 11月, 2019 1 次提交
  23. 01 10月, 2019 1 次提交
  24. 27 9月, 2019 1 次提交
  25. 26 9月, 2019 1 次提交