Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Require go 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 31, 2020
1 parent 0f7da0e commit 1f2b25b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################
# STEP 1 build executable binary
############################
FROM golang:alpine as builder
FROM golang:1.13-alpine as builder

# Install git + SSL ca certificates.
# Git is required for fetching the dependencies.
Expand All @@ -15,10 +15,6 @@ RUN adduser -D -g '' appuser

WORKDIR /go/src/github.com/andig/gravo

ENV GO111MODULE on
COPY go.* .
RUN go mod download

COPY . .
RUN make build

Expand Down
6 changes: 1 addition & 5 deletions tmpl.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################
# STEP 1 build executable binary
############################
FROM golang:alpine as builder
FROM golang:1.13-alpine as builder

# Install git + SSL ca certificates.
# Git is required for fetching the dependencies.
Expand All @@ -15,10 +15,6 @@ RUN adduser -D -g '' appuser

WORKDIR /go/src/github.com/andig/gravo

ENV GO111MODULE on
COPY go.* .
RUN go mod download

COPY . .
RUN GOARCH={{ .GoARCH }} GOARM={{ .GoARM }} make build

Expand Down

0 comments on commit 1f2b25b

Please sign in to comment.