From e4205d7edebe45f6a13b49afe0eea98ba7e9becb Mon Sep 17 00:00:00 2001 From: Micah Anderson <micah@riseup.net> Date: Fri, 31 Jan 2020 12:39:34 -0600 Subject: [PATCH] Use the golang from buster-backports as out shapeshifter-dispatcher is pinned to use go 1.13 so it can utilize go modules --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 388090d..6d87c85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM debian:buster AS build +FROM debian:buster-backports AS build RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - build-essential pkg-config golang-go git ca-certificates openvpn \ + build-essential pkg-config git ca-certificates openvpn \ +&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -t buster-backports golang-go \ && rm -rf /var/lib/apt/lists/* # don't need to do bash tricks to keep the layers small, as this is a multi-stage build -- GitLab