ispime gopkg

This commit is contained in:
2019-10-25 22:37:40 +02:00
parent 3fd7ae25db
commit 387b98a23f
9 changed files with 65 additions and 0 deletions

View File

@ -6,6 +6,8 @@ FROM golang:1.13 as builder
# Create and change to the app directory.
WORKDIR /app
RUN go get -u github.com/golang/dep/cmd/dep
# Retrieve application dependencies.
# This allows the container build to reuse cached dependencies.
COPY go.* ./
@ -14,6 +16,9 @@ RUN go mod download
# Copy local code to the container image.
COPY . ./
#Ensure dependencies with dep
RUN dep ensure
# Build the binary.
RUN CGO_ENABLED=0 GOOS=linux go build -v -o server

5
isprime-go/Gopkg.toml Normal file
View File

@ -0,0 +1,5 @@
ignored = ["github.com/kubeless/kubeless/pkg/functions"]
[[constraint]]
name = "github.com/sirupsen/logrus"
branch = "master"