Fix build commands
This commit is contained in:
parent
5ed35c5a90
commit
9b438289ed
|
@ -8,7 +8,7 @@ COPY . .
|
||||||
|
|
||||||
RUN apk add --update gcc musl-dev
|
RUN apk add --update gcc musl-dev
|
||||||
WORKDIR /build/wlm
|
WORKDIR /build/wlm
|
||||||
RUN go build -o wlm -ldflags "-s -w"
|
RUN go build -o wlm -ldflags "-s -w" cmd/wlm/*.go
|
||||||
|
|
||||||
|
|
||||||
FROM docker.io/alpine
|
FROM docker.io/alpine
|
||||||
|
|
|
@ -20,7 +20,7 @@ about them) and send a command over RCON to your server to add them to the white
|
||||||
the address to connect to the server.
|
the address to connect to the server.
|
||||||
|
|
||||||
This is currently hosted at [mc.gmem.ca](https://mc.gmem.ca) while being developed. It's free for the time being,
|
This is currently hosted at [mc.gmem.ca](https://mc.gmem.ca) while being developed. It's free for the time being,
|
||||||
and while I do want to eventually monetize this hosted version, you are more than welcome to either use the hosted
|
and while I do want to eventually monetize this hosted version, you are more than welcome to either use the hosted
|
||||||
version or host your own instance (this is actually recommended if you have the ability, since it allows you to
|
version or host your own instance (this is actually recommended if you have the ability, since it allows you to
|
||||||
keep RCON private). I do happily [accept donations](https://www.buymeacoffee.com/gmem) to keep running the public
|
keep RCON private). I do happily [accept donations](https://www.buymeacoffee.com/gmem) to keep running the public
|
||||||
hosted version!
|
hosted version!
|
||||||
|
@ -35,7 +35,7 @@ also be changed.
|
||||||
# Docker
|
# Docker
|
||||||
docker build . -t whitelistmanager
|
docker build . -t whitelistmanager
|
||||||
# Non-docker
|
# Non-docker
|
||||||
go build -o wlm -ldflags "-s -w"
|
go build -o wlm -ldflags "-s -w" cmd/wlm/*.go
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
Loading…
Reference in a new issue