fn: update fn dependencies for go 1.10 (#856)

This commit is contained in:
Tolga Ceylan
2018-03-14 09:18:30 -07:00
committed by Reed Allman
parent 70af65d35a
commit 7b5b091698
9 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ jobs:
working_directory: ~/go/src/github.com/fnproject/fn
environment: # apparently expansion doesn't work here yet: https://discuss.circleci.com/t/environment-variable-expansion-in-working-directory/11322
- GOPATH=/home/circleci/go
- GOVERSION=1.9.1
- GOVERSION=1.10
- OS=linux
- ARCH=amd64
- FN_LOG_LEVEL=debug

View File

@@ -53,7 +53,7 @@ asking for suggestions on how to address the documentation part.
### Build
Requires Go >= 1.9.1.
Requires Go >= 1.10.0.
The first time after you clone or after dependencies get updated, run:

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:1.9-alpine AS build-env
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ENV D=/go/src/github.com/fnproject/fn
ADD . $D

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:1.9-alpine AS build-env
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ENV D=/go/src/github.com/fnproject/fn
ADD . $D

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:1.9-alpine AS build-env
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add git
ENV D=/go/src/github.com/fnproject/fn/images/fn-test-utils
RUN go get -u github.com/golang/dep/cmd/dep

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:1.9-alpine AS build-env
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ENV D=/go/src/github.com/fnproject/fn
ADD . $D

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:alpine AS build-env
FROM golang:1.10-alpine AS build-env
ADD . /src
RUN cd /src && go build -o goapp

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:1.9-alpine AS build-env
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ENV D=/go/src/github.com/fnproject/fn
ADD . $D

View File

@@ -1,5 +1,5 @@
# build stage
FROM golang:1.9-alpine AS build-env
FROM golang:1.10-alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ENV D=/go/src/github.com/fnproject/fn
ADD . $D