Discover Packages
github.com/cage1016/coscup2021-tw-sample-go
command
module
Version:
v0.0.0-...-7a54e8d
Opens a new window with list of versions in this module.
Published: Jul 14, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Welcome to coscup2021-tw-sample-go 👋
coscup 2021 tw - Google Cloud Buildpacks 剖析與實踐 source code
Author
👤 KAI CHU CHUNG
Usage
build container image by pack
Install Docker
Install the pack tool (a CLI for running Buildpacks)
build container image by pack & gcr.io/buildpacks/builder:v1 builder
# You could change container image as you want
pack build --builder gcr.io/buildpacks/builder:v1 ghcr.io/cage1016/coscup2021-tw-sample-go
Build contaiern image by skaffold
Install skaffold
build container image by skaffold
skaffold build
Deploy to Google Cloud Run
Build Cloud Function by pack
build container image by pack & gcr.io/buildpacks/builder:v1 builder
# You could change container image as you want
pack build hello-coscup-2021-tw-get --builder gcr.io/buildpacks/builder:v1 --env GOOGLE_FUNCTION_TARGET=HelloCocsup2021tw -p functions
run container image locally
docker run --rm -p 8080:8080 hello-coscup-2021-tw-get
curl hello-coscup-2021-tw-get
curl localhost:8080
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2021 KAI CHU CHUNG .
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.