2020-10-20 15:11:24 +00:00
|
|
|
FROM docker.io/golang:1.15-alpine AS builder
|
2018-01-02 18:26:37 +00:00
|
|
|
|
2020-06-05 18:00:30 +00:00
|
|
|
RUN apk --update --no-cache add bash build-base
|
2018-01-02 18:26:37 +00:00
|
|
|
|
|
|
|
WORKDIR /build
|
|
|
|
|
2020-06-05 18:00:30 +00:00
|
|
|
COPY . /build
|
2018-01-02 18:26:37 +00:00
|
|
|
|
2020-06-05 18:00:30 +00:00
|
|
|
RUN mkdir -p bin
|
|
|
|
RUN sh ./build.sh
|