fix: Make a separate cmd/doggo package for main files

Closes https://github.com/mr-karan/doggo/issues/1
This commit is contained in:
Karan Sharma 2020-12-18 20:18:28 +05:30
parent 724114e144
commit 4d618b892b
11 changed files with 14 additions and 9 deletions

View file

@ -62,6 +62,14 @@ You can supply all arguments to the CLI directly to `docker run` command. Eg:
$ sudo snap install doggo
```
### From Source
You need to have `go` installed in your system.
```bash
$ go get github.com/mr-karan/doggo/cmd/doggo
```
**NOTE**: Since the [confinement](https://snapcraft.io/docs/snap-confinement) mode is strict as of now, it cannot access your host's `/etc/resolv.conf`.
I'll be making a request in the Snap forums soon so that it can be manually reviewed and allowed to use `--classic`. Until then, please specify a namesever manually
if using `snap`.