Skip to content

Commit

Permalink
Build: Fix Dockerfile glibc version error (grafana#19394)
Browse files Browse the repository at this point in the history
Change the base image for the golang build stage from 
golang:1.12.9 (Debian 'Buster' 10) to golang:1.12.9-stretch 
(Debian 'Stretch' 9), so that the glibc version in golang build 
stage matches the glibc version in the final container based 
on ubuntu:18.04. Otherwise, the built binaries cannot execute 
in the final container.
  • Loading branch information
cflee authored and marefr committed Sep 25, 2019
1 parent fdd2117 commit ede3adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Golang build container
FROM golang:1.12.9
FROM golang:1.12.9-stretch

WORKDIR $GOPATH/src/github.com/grafana/grafana

Expand Down

0 comments on commit ede3adc

Please sign in to comment.