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.
bing
fdb9085bbb
|
3 years ago | |
---|---|---|
.. | ||
Dockerfile | 3 years ago | |
Makefile | 3 years ago | |
main.go | 3 years ago | |
readme.md | 3 years ago |
readme.md
demo
这是一个由go语言编写的基本http服务,用于各种测试。
编译
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main main.go
打包
docker build -t demo:1.0 .