Skip to content

Commit

Permalink
rolled back to golang 1.13 for a golang:alpine docker image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wtron committed Mar 7, 2020
1 parent b5bd72f commit 48f4e4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: go

go:
- 1.13.x
- 1.14.x

before_install:
- go get -t -v ./...
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:latest as builder
FROM golang:1.13 as builder
ARG VCS_REF
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF \
Expand All @@ -7,7 +7,7 @@ WORKDIR /go/src
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o vecosy-server

FROM golang:latest
FROM alpine:latest
RUN mkdir /config
EXPOSE 8080
EXPOSE 8081
Expand Down
2 changes: 1 addition & 1 deletion demo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:latest as builder
FROM golang:1.13 as builder
WORKDIR /go/src
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o vecosy-server
Expand Down

0 comments on commit 48f4e4d

Please sign in to comment.