We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 106c235 commit 074c072Copy full SHA for 074c072
Dockerfile
@@ -1,14 +1,14 @@
1
# Copied from https://github.com/prometheus/client_golang/blob/master/examples/simple/Dockerfile
2
3
-FROM golang:1.9.2-alpine AS builder
+FROM golang:1.12-alpine AS builder
4
WORKDIR /go/src/github.com/infrastructure-as-code/docker-hello-world
5
ENV GIN_MODE debug
6
COPY Makefile *.go ./
7
RUN apk update && \
8
apk upgrade && \
9
apk add \
10
- git \
11
- make && \
+ alpine-sdk \
+ && \
12
make all
13
14
FROM scratch
Makefile
@@ -12,4 +12,4 @@ lint:
deps:
go get -d
go get github.com/stretchr/testify
15
- go get github.com/golang/lint/golint
+ go get golang.org/x/lint/golint
0 commit comments