mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: update fn dependencies for go 1.10 (#856)
This commit is contained in:
committed by
Reed Allman
parent
70af65d35a
commit
7b5b091698
@@ -6,7 +6,7 @@ jobs:
|
|||||||
working_directory: ~/go/src/github.com/fnproject/fn
|
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
|
environment: # apparently expansion doesn't work here yet: https://discuss.circleci.com/t/environment-variable-expansion-in-working-directory/11322
|
||||||
- GOPATH=/home/circleci/go
|
- GOPATH=/home/circleci/go
|
||||||
- GOVERSION=1.9.1
|
- GOVERSION=1.10
|
||||||
- OS=linux
|
- OS=linux
|
||||||
- ARCH=amd64
|
- ARCH=amd64
|
||||||
- FN_LOG_LEVEL=debug
|
- FN_LOG_LEVEL=debug
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ asking for suggestions on how to address the documentation part.
|
|||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
Requires Go >= 1.9.1.
|
Requires Go >= 1.10.0.
|
||||||
|
|
||||||
The first time after you clone or after dependencies get updated, run:
|
The first time after you clone or after dependencies get updated, run:
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# 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
|
RUN apk --no-cache add build-base git bzr mercurial gcc
|
||||||
ENV D=/go/src/github.com/fnproject/fn
|
ENV D=/go/src/github.com/fnproject/fn
|
||||||
ADD . $D
|
ADD . $D
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# 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
|
RUN apk --no-cache add build-base git bzr mercurial gcc
|
||||||
ENV D=/go/src/github.com/fnproject/fn
|
ENV D=/go/src/github.com/fnproject/fn
|
||||||
ADD . $D
|
ADD . $D
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# build stage
|
||||||
FROM golang:1.9-alpine AS build-env
|
FROM golang:1.10-alpine AS build-env
|
||||||
RUN apk --no-cache add git
|
RUN apk --no-cache add git
|
||||||
ENV D=/go/src/github.com/fnproject/fn/images/fn-test-utils
|
ENV D=/go/src/github.com/fnproject/fn/images/fn-test-utils
|
||||||
RUN go get -u github.com/golang/dep/cmd/dep
|
RUN go get -u github.com/golang/dep/cmd/dep
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# 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
|
RUN apk --no-cache add build-base git bzr mercurial gcc
|
||||||
ENV D=/go/src/github.com/fnproject/fn
|
ENV D=/go/src/github.com/fnproject/fn
|
||||||
ADD . $D
|
ADD . $D
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# build stage
|
||||||
FROM golang:alpine AS build-env
|
FROM golang:1.10-alpine AS build-env
|
||||||
ADD . /src
|
ADD . /src
|
||||||
RUN cd /src && go build -o goapp
|
RUN cd /src && go build -o goapp
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# 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
|
RUN apk --no-cache add build-base git bzr mercurial gcc
|
||||||
ENV D=/go/src/github.com/fnproject/fn
|
ENV D=/go/src/github.com/fnproject/fn
|
||||||
ADD . $D
|
ADD . $D
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# build stage
|
# 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
|
RUN apk --no-cache add build-base git bzr mercurial gcc
|
||||||
ENV D=/go/src/github.com/fnproject/fn
|
ENV D=/go/src/github.com/fnproject/fn
|
||||||
ADD . $D
|
ADD . $D
|
||||||
|
|||||||
Reference in New Issue
Block a user