Dockerfile: update from jessie to stretch
jessie is old (even by Debian standards) and doesn't even build
anymore without changes, as the apt-get contents have moved to an
Debian stable is stretch these days, so upgrade to that. (Debian buster
is almost the next stable, but not quite yet)
Reviewed-by: Dmitri Shuralyov <email@example.com>
diff --git a/Dockerfile b/Dockerfile
index c6390fc..8193954 100644
@@ -1,7 +1,7 @@
# Copyright 2017 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-FROM debian:jessie as builder
+FROM debian:stretch as builder
LABEL maintainer "firstname.lastname@example.org"
ENV GOPATH /go
@@ -215,7 +215,7 @@
COPY . /go/src/playground/
RUN go install playground
RUN apt-get update && apt-get install -y git ca-certificates --no-install-recommends