Rid of the Dockerfile, update README
Signed-off-by: Aoi K <koizumi.aoi@chaotic.ninja> git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@110 922d331f-388e-da47-97a9-ad700dc0b8b9
This commit is contained in:
parent
a7cbb76935
commit
a62ae0c593
@ -1,8 +0,0 @@
|
|||||||
from quay.io/jonnrb/go as build
|
|
||||||
add . /src
|
|
||||||
run cd /src && CGO_ENABLED=0 go get ./cmd/vanityserver
|
|
||||||
|
|
||||||
from gcr.io/distroless/static
|
|
||||||
expose 8080
|
|
||||||
copy --from=build /go/bin/vanityserver /vanityserver
|
|
||||||
entrypoint ["/vanityserver"]
|
|
14
README.md
14
README.md
@ -1,4 +1,5 @@
|
|||||||
# Vanity [](https://godoc.org/go.jonnrb.io/vanity)
|
# Toyohime
|
||||||
|
Fork of [go.jonnrb.io/vanity](https://go.jonnrb.io/vanity)
|
||||||
|
|
||||||
A vanity import path is any import path that can be downloaded with
|
A vanity import path is any import path that can be downloaded with
|
||||||
`go get` but isn't otherwise blessed by the `go` tool (e.g. GitHub,
|
`go get` but isn't otherwise blessed by the `go` tool (e.g. GitHub,
|
||||||
@ -8,23 +9,18 @@ BitBucket, etc.). A commonly used vanity import path is
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Redirects browsers to godoc.org (or somewhere else)
|
- Redirects browsers to godocs.io (or somewhere else)
|
||||||
- Redirects Go tool to VCS
|
- Redirects Go tool to VCS
|
||||||
- Redirects godoc.org to browsable files
|
- Redirects godocs.io to browsable files
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get go.jonnrb.io/vanity
|
go get marisa.chaotic.ninja/toyohime
|
||||||
```
|
```
|
||||||
|
|
||||||
## Specification
|
## Specification
|
||||||
|
|
||||||
- [Remote Import Paths](https://golang.org/cmd/go/#hdr-Remote_import_paths)
|
- [Remote Import Paths](https://golang.org/cmd/go/#hdr-Remote_import_paths)
|
||||||
- [GDDO Source Code Links](https://github.com/golang/gddo/wiki/Source-Code-Links)
|
- [GDDO Source Code Links](https://github.com/golang/gddo/wiki/Source-Code-Links)
|
||||||
- [Custom Import Path Checking](https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit)
|
- [Custom Import Path Checking](https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs/edit)
|
||||||
|
|
||||||
## Contributing
|
|
||||||
|
|
||||||
Shoot me an email with a repo and branch to pull (or even better, use
|
|
||||||
[git-request-pull](https://git-scm.com/docs/git-request-pull)).
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user