diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..f827b03 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "markdown.validate.enabled": true, + "git.alwaysSignOff": true, + "[markdown]": { + "editor.defaultFormatter": "DavidAnson.vscode-markdownlint" + } +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index cca1c9d..1f3c718 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ARG KNOT_RELEASE_TAG='v1.11.0-alpha' KNOT_REPO_URL=https://tangled.org/@tangled. WORKDIR /app RUN apk add git gcc musl-dev -RUN git clone -b ${KNOT_RELEASE_TAG} ${REPO_URL} . \ +RUN git clone -b ${KNOT_RELEASE_TAG} ${KNOT_REPO_URL} . \ && go build -o /usr/bin/knot -ldflags '-s -w -extldflags "-static"' ./cmd/knot \ && git rev-parse HEAD > commit-sha.txt diff --git a/readme.md b/readme.md index 8214d52..a173fae 100644 --- a/readme.md +++ b/readme.md @@ -25,6 +25,7 @@ git remote add origin ssh://git@hackclub.app:33939/handle.host.tld/repo * [View our GitLab CI config](./.gitlab-ci.yaml) * [View tags on GitLab Container Registry](https://gitlab.com/recaptime-dev/infra/knot-server-docker/container_registry/9481789) * Run using built images after `ssh recaptime-dev@hackclub.app`: ` compose up --no-build --force-recreate` +* Get build information: ` compose exec knot knotserver-version` ## Requesting access