From 23d48e48aa7243c21e47430acb9ad17c07e7e11a Mon Sep 17 00:00:00 2001 From: Adrian Macneil Date: Mon, 2 Sep 2019 23:00:26 -0400 Subject: [PATCH] Fix docker build for latest golang images (#88) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0177420..bd0cc3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build image -FROM golang:1.12 as build +FROM golang:1.12-stretch as build # required to force cgo (for sqlite driver) with cross compile ENV CGO_ENABLED 1 @@ -7,7 +7,7 @@ ENV CGO_ENABLED 1 # install database clients RUN apt-get update \ && apt-get install -y --no-install-recommends \ - mysql-client \ + default-mysql-client \ postgresql-client \ sqlite3 \ && rm -rf /var/lib/apt/lists/*