Dev Docker: Use golang:1.12.9-alpine to prevent glibc mismatch. (#18701)

Using golang:1.12.9 which is based on Debian as a build container
leads to a version mismatch for glibc when running grafana-server
in alpine:3.10

grafana-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by grafana-server)
This commit is contained in:
Franz Schwartau 2019-08-25 16:20:52 +02:00 committed by Torkel Ödegaard
parent 77849bb337
commit 0167e0a6b2

View File

@ -1,5 +1,7 @@
# Golang build container
FROM golang:1.12.9
FROM golang:1.12.9-alpine
RUN apk add --no-cache gcc g++
WORKDIR $GOPATH/src/github.com/grafana/grafana