This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from duck8823/maintenance/update_go
Version up golang in CI
- Loading branch information
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.10-alpine | ||
FROM golang:1.11rc2-alpine | ||
MAINTAINER shunsuke maeda <[email protected]> | ||
|
||
RUN apk --update add --no-cache alpine-sdk | ||
|
@@ -7,10 +7,10 @@ WORKDIR /go/src/github.com/duck8823/duci | |
|
||
ADD . . | ||
|
||
RUN go get golang.org/x/vgo | ||
|
||
ENV CC=gcc | ||
ENV CI=duci | ||
|
||
ENTRYPOINT ["vgo"] | ||
ENV GO111MODULE=on | ||
|
||
ENTRYPOINT ["go"] | ||
CMD ["test", "./..."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters