converted to go modules, added gorilla web toolkit, added test, changed yosoy to respond with JSON rather than plain text, added travis support
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
FROM golang:1.13.5-alpine3.10 as builder
|
||||
FROM golang:1.15.7-alpine3.13 as builder
|
||||
|
||||
LABEL maintainer="Łukasz Budnik lukasz.budnik@gmail.com"
|
||||
|
||||
# build yosoy
|
||||
RUN apk add git
|
||||
RUN apk --update add git
|
||||
RUN git clone https://github.com/lukaszbudnik/yosoy.git
|
||||
RUN cd /go/yosoy && go build
|
||||
|
||||
FROM alpine:3.10
|
||||
FROM alpine:3.13
|
||||
COPY --from=builder /go/yosoy/yosoy /bin
|
||||
|
||||
# register entrypoint
|
||||
|
||||
Reference in New Issue
Block a user