Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vincetse committed Jul 20, 2019
1 parent 106c235 commit 074c072
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copied from https://github.com/prometheus/client_golang/blob/master/examples/simple/Dockerfile

FROM golang:1.9.2-alpine AS builder
FROM golang:1.12-alpine AS builder
WORKDIR /go/src/github.com/infrastructure-as-code/docker-hello-world
ENV GIN_MODE debug
COPY Makefile *.go ./
RUN apk update && \
apk upgrade && \
apk add \
git \
make && \
alpine-sdk \
&& \
make all

FROM scratch
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ lint:
deps:
go get -d
go get github.com/stretchr/testify
go get github.com/golang/lint/golint
go get golang.org/x/lint/golint

0 comments on commit 074c072

Please sign in to comment.