summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Makefile
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2021-09-21 14:03:23 +0300
committerKonstantin Pavlov <thresh@nginx.com>2021-09-21 14:03:23 +0300
commitd51b3bbfeb360e834d23265b59062a792cb2a523 (patch)
tree204039fb3f11902517f9d30efc4354427e916458 /pkg/docker/Makefile
parentc07f3d3ff693025fc90a72e9c9947bfd457da11e (diff)
downloadunit-d51b3bbfeb360e834d23265b59062a792cb2a523.tar.gz
unit-d51b3bbfeb360e834d23265b59062a792cb2a523.tar.bz2
Docker: bumped versions.
Minimal image now uses Debian 11 "Bullseye" as a base. Language versions are bumped to: - Go 1.17 - Node 16 - Perl 5.34 - Ruby 3.0
Diffstat (limited to 'pkg/docker/Makefile')
-rw-r--r--pkg/docker/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile
index 00625526..a2c1a52b 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -12,13 +12,13 @@ EXPORT_DIR := $(VERSION)
MODULES ?= go jsc node perl php python ruby minimal
VERSION_minimal ?=
-CONTAINER_minimal ?= debian:buster-slim
+CONTAINER_minimal ?= debian:bullseye-slim
CONFIGURE_minimal ?=
INSTALL_minimal ?= version
define COPY_minimal
endef
-VERSION_go ?= 1.15
+VERSION_go ?= 1.17
CONTAINER_go ?= golang:$(VERSION_go)
CONFIGURE_go ?= go --go-path=$$GOPATH
INSTALL_go ?= go-install-src libunit-install
@@ -34,7 +34,7 @@ CONFIGURE_jsc ?= java --jars=/usr/share/unit-jsc-common/
INSTALL_jsc ?= java-shared-install java-install
COPY_jsc = COPY --from=BUILDER /usr/share/unit-jsc-common/ /usr/share/unit-jsc-common/
-VERSION_node ?= 15
+VERSION_node ?= 16
CONTAINER_node ?= node:$(VERSION_node)
CONFIGURE_node ?= nodejs --node-gyp=/usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp
INSTALL_node ?= node node-install libunit-install
@@ -44,7 +44,7 @@ COPY --from=BUILDER /usr/include/nxt_* /usr/include/\n\$
COPY --from=BUILDER /usr/local/lib/node_modules/unit-http/ /usr/local/lib/node_modules/unit-http/
endef
-VERSION_perl ?= 5.32
+VERSION_perl ?= 5.34
CONTAINER_perl ?= perl:$(VERSION_perl)
CONFIGURE_perl ?= perl
INSTALL_perl ?= perl-install
@@ -62,7 +62,7 @@ CONFIGURE_python ?= python --config=/usr/local/bin/python3-config
INSTALL_python ?= python3-install
COPY_python =
-VERSION_ruby ?= 2.7
+VERSION_ruby ?= 3.0
CONTAINER_ruby ?= ruby:$(VERSION_ruby)
CONFIGURE_ruby ?= ruby
INSTALL_ruby ?= ruby-install