summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Dockerfile.tmpl
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2019-11-20 18:24:46 +0300
committerKonstantin Pavlov <thresh@nginx.com>2019-11-20 18:24:46 +0300
commitc87111cbb2356c186bd2433e525cd07f5f7618c5 (patch)
treecd13972f2670eb06f050cbd00cd7b7e7260dfd38 /pkg/docker/Dockerfile.tmpl
parent2f23923e44d4528a547d2a29212ac93c3f0e25de (diff)
downloadunit-c87111cbb2356c186bd2433e525cd07f5f7618c5.tar.gz
unit-c87111cbb2356c186bd2433e525cd07f5f7618c5.tar.bz2
Moved docker images to Debian 10 "buster".
This changes the language versions we provide: - python 3.5 -> python 3.7 - go 1.7/1.8 -> go 1.11 - perl 5.24 -> perl 5.28 - ruby 2.3 -> ruby 2.5 - php 7.0 -> php 7.3
Diffstat (limited to 'pkg/docker/Dockerfile.tmpl')
-rw-r--r--pkg/docker/Dockerfile.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/docker/Dockerfile.tmpl b/pkg/docker/Dockerfile.tmpl
index c721931b..3372ef6f 100644
--- a/pkg/docker/Dockerfile.tmpl
+++ b/pkg/docker/Dockerfile.tmpl
@@ -1,4 +1,4 @@
-FROM debian:stretch-slim
+FROM debian:buster-slim
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
@@ -26,13 +26,13 @@ RUN set -x \
&& case "$dpkgArch" in \
amd64|i386) \
# arches officialy built by upstream
- echo "deb https://packages.nginx.org/unit/debian/ stretch unit" >> /etc/apt/sources.list.d/unit.list \
+ echo "deb https://packages.nginx.org/unit/debian/ buster unit" >> /etc/apt/sources.list.d/unit.list \
&& apt-get update \
;; \
*) \
# we're on an architecture upstream doesn't officially build for
# let's build binaries from the published source packages
- echo "deb-src https://packages.nginx.org/unit/debian/ stretch unit" >> /etc/apt/sources.list.d/unit.list \
+ echo "deb-src https://packages.nginx.org/unit/debian/ buster unit" >> /etc/apt/sources.list.d/unit.list \
\
# new directory for storing sources and .deb files
&& tempDir="$(mktemp -d)" \