chore: update readme and dockerfile

This commit is contained in:
Ferdinand Mütsch 2022-09-30 00:02:04 +02:00
parent 9e0581b311
commit 4d217a83c1
2 changed files with 0 additions and 13 deletions

View File

@ -1,9 +1,6 @@
FROM golang:1.18-alpine AS build-env
WORKDIR /src
# Required for go-sqlite3
RUN apk add --no-cache gcc musl-dev
RUN wget "https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh" -O wait-for-it.sh && \
chmod +x wait-for-it.sh

View File

@ -94,16 +94,6 @@ If you want to run Wakapi on **Kubernetes**, there is [wakapi-helm-chart](https:
### 🧑‍💻 Option 4: Compile and run from source
#### Prerequisites
* Go >= 1.18
* gcc (to compile [go-sqlite3](https://github.com/mattn/go-sqlite3))
* Fedora / RHEL: `dnf install @development-tools`
* Ubuntu / Debian: `apt install build-essential`
* Windows: See [here](https://github.com/mattn/go-sqlite3/issues/214#issuecomment-253216476)
#### Compile & run
```bash
# Build and install
# Alternatively: go build -o wakapi