single Dockerfile for testing and official builds

This commit is contained in:
Łukasz Budnik
2021-02-04 08:05:34 +01:00
parent 1844d70a58
commit 9c90cf07e9
3 changed files with 2 additions and 18 deletions

View File

@@ -3,8 +3,7 @@ FROM golang:1.15.7-alpine3.13 as builder
LABEL maintainer="Łukasz Budnik lukasz.budnik@gmail.com"
# build yosoy
RUN apk --update add git
RUN git clone https://github.com/lukaszbudnik/yosoy.git
ADD . /go/yosoy
RUN cd /go/yosoy && go build
FROM alpine:3.13