Skip to content

Commit 074c072

Browse files
committed
Fix build
1 parent 106c235 commit 074c072

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Copied from https://github.com/prometheus/client_golang/blob/master/examples/simple/Dockerfile
22

3-
FROM golang:1.9.2-alpine AS builder
3+
FROM golang:1.12-alpine AS builder
44
WORKDIR /go/src/github.com/infrastructure-as-code/docker-hello-world
55
ENV GIN_MODE debug
66
COPY Makefile *.go ./
77
RUN apk update && \
88
apk upgrade && \
99
apk add \
10-
git \
11-
make && \
10+
alpine-sdk \
11+
&& \
1212
make all
1313

1414
FROM scratch

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ lint:
1212
deps:
1313
go get -d
1414
go get github.com/stretchr/testify
15-
go get github.com/golang/lint/golint
15+
go get golang.org/x/lint/golint

0 commit comments

Comments
 (0)