No description
Find a file
Khue Doan 828c31f942
All checks were successful
netamos/push-to-deploy GitOps update published
refactor: rewrite with only std
2024-12-11 23:57:39 +07:00
.gitignore refactor: revert back to Go 2024-02-15 12:07:59 +07:00
go.mod refactor: rewrite with only std 2024-12-11 23:57:39 +07:00
LICENSE.md Initial commit 2023-01-25 18:23:52 +07:00
main.go refactor: rewrite with only std 2024-12-11 23:57:39 +07:00
main_test.go test: add simple test case that does nothing 2024-06-02 15:01:21 +07:00
README.md build: remove Procfile 2024-02-15 13:55:51 +07:00

Example service

For demo and testing purposes.

Build native binary:

go build .
./example-service

Build container image with Buildpacks:

pack build example-service --builder paketobuildpacks/builder:full
# Or without Pack CLI:
# docker run \
#     --rm \
#     --env CNB_PLATFORM_API=0.9 \
#     --volume $PWD:/workspace \
#     paketobuildpacks/builder:full \
#         /cnb/lifecycle/creator registry.khuedoan.com/khuedoan/example-service
docker run --rm --publish 8080:8080 example-service