Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnandersen777/ircbot


https://github.com/johnandersen777/ircbot

Last synced: about 16 hours ago
JSON representation

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 image

Building
---

```bash
go build -o ircbot_linux-amd64 -tags netgo *.go
# Or
./script/build
```
> `-tags netgo` will help you achieve static binaries :)

Running
---

```bash
./ircbot_linux-amd64
docker run --rm -ti pdxjohnny/ircbot
```

Changing The Name
---

```bash
./script/change-name $GITHUB_USERNAME $PROJECT_NAME
```

- John Andersen