github.com/projecteru2/core@v0.0.0-20240321043226-06bcc1c23f58/spec.yaml (about) 1 appname: "eru" 2 entrypoints: 3 core: 4 cmd: "/usr/bin/eru-core --config /core.yaml" 5 restart: always 6 publish: 7 - "5001" 8 healthcheck: 9 tcp_ports: 10 - "5001" 11 12 stages: 13 - build 14 - pack 15 builds: 16 build: 17 base: "golang:alpine" 18 # only support ssh protocol 19 repo: "git@github.com:projecteru2/core.git" 20 version: "HEAD" 21 security: false 22 dir: /go/src/github.com/projecteru2/core 23 commands: 24 - apk add --no-cache build-base musl-dev git curl make 25 - make test 26 - make binary 27 cache: 28 /go/src/github.com/projecteru2/core/eru-core: /usr/bin/eru-core 29 pack: 30 base: alpine 31 labels: 32 ERU: 1 33 core: 1 34 envs: 35 CORE_IN_DOCKER: 1 36