Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnandersen777/sysnet-old
https://github.com/johnandersen777/sysnet-old
Last synced: about 14 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/johnandersen777/sysnet-old
- Owner: johnandersen777
- Created: 2015-10-28T21:23:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T00:05:38.000Z (about 9 years ago)
- Last Synced: 2024-10-24T09:12:39.582Z (25 days ago)
- Language: Go
- Size: 145 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker Go Base
---This repo is meant to be used as a starting point for go projects
It uses docker to compile the binaries and the main Dockerfile adds the linux
binary to the busybox image to create an extremely small final imageBuilding
---```bash
go build -o sysnet_linux-amd64 -tags netgo *.go
# Or
./script/build
```
> `-tags netgo` will help you achieve static binaries :)Running
---```bash
./sysnet_linux-amd64
docker run --rm -ti pdxjohnny/sysnet
```Changing The Name
---```bash
./script/change-name $GITHUB_USERNAME $PROJECT_NAME
```- John Andersen