You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
513 B

3 years ago
  1. jib {
  2. from {
  3. image = "adoptopenjdk:11-jre-hotspot"
  4. }
  5. to {
  6. image = "demandeprolongmentretraite:latest"
  7. }
  8. container {
  9. entrypoint = ["bash", "-c", "/entrypoint.sh"]
  10. ports = ["3006"]
  11. environment = [
  12. SPRING_OUTPUT_ANSI_ENABLED: "ALWAYS",
  13. JHIPSTER_SLEEP: "0"
  14. ]
  15. creationTime = "USE_CURRENT_TIMESTAMP"
  16. }
  17. extraDirectories {
  18. paths = file("src/main/jib")
  19. permissions = ["/entrypoint.sh": "755"]
  20. }
  21. }