8dc3fb964e
* Pass source of service to Deployment API; render templates properly * Enable Go modules by default. Honor runtime.Service.Exec * Make sure you remove go.mod and go.sum
8 lines
174 B
Docker
8 lines
174 B
Docker
FROM golang:1.13-alpine
|
|
ENV GO111MODULE=on
|
|
RUN apk --no-cache add make git gcc libtool musl-dev
|
|
WORKDIR /
|
|
COPY go.mod .
|
|
COPY go.sum .
|
|
RUN go mod download && rm go.mod go.sum
|