Skip to content

Commit a2a35e8

Browse files
committed
Update minimum Docker and Podman versions for build
1 parent db99f13 commit a2a35e8

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Changed shutdown flow to continue reaping orphan processes during queue manager shutdown
1010
* Allow Native HA configuration to be externally provided rather than generated from template
1111
* Default CCSID is now 1208 (UTF-8) instead of 819 (ISO 8859-1); default `LANG` environment variable is `C.utf8`, which matches the underlying UBI. This is because Red Hat UBI has introduced a dependency on an additional language pack, which changes the default behavior.
12+
* Clarified new minimum versions of Docker and Podman; new version required due to the move to UBI 9
1213

1314
## 9.4.0.0 (2024-06)
1415

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,9 @@ PODMAN_VERSION=$(shell podman version --format "{{ .Version }}")
571571
command-version:
572572
# If we're using Docker, then check it's recent enough to support multi-stage builds
573573
ifneq (,$(findstring docker,$(COMMAND)))
574-
@test "$(word 1,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -ge "17" || ("$(word 1,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -eq "17" && "$(word 2,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -ge "05") || (echo "Error: Docker client 17.05 or greater is required" && exit 1)
575-
@test "$(word 1,$(subst ., ,$(COMMAND_SERVER_VERSION)))" -ge "17" || ("$(word 1,$(subst ., ,$(COMMAND_SERVER_VERSION)))" -eq "17" && "$(word 2,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -ge "05") || (echo "Error: Docker server 17.05 or greater is required" && exit 1)
574+
@test "$(word 1,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -ge "20" || ("$(word 1,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -eq "20" && "$(word 2,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -ge "10") || (echo "Error: Docker client 20.10 or greater is required" && exit 1)
575+
@test "$(word 1,$(subst ., ,$(COMMAND_SERVER_VERSION)))" -ge "20" || ("$(word 1,$(subst ., ,$(COMMAND_SERVER_VERSION)))" -eq "20" && "$(word 2,$(subst ., ,$(COMMAND_CLIENT_VERSION)))" -ge "10") || (echo "Error: Docker server 20.10 or greater is required" && exit 1)
576576
endif
577577
ifneq (,$(findstring podman,$(COMMAND)))
578-
@test "$(word 1,$(subst ., ,$(PODMAN_VERSION)))" -ge "1" || (echo "Error: Podman version 1.0 or greater is required" && exit 1)
578+
@test "$(word 1,$(subst ., ,$(PODMAN_VERSION)))" -ge "4" || (echo "Error: Podman version 4.4 or greater is required" && exit 1)
579579
endif

docs/building.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
You need to have the following tools installed:
66

7-
* [Docker](https://www.docker.com/) 17.06.1 or later, or [Podman](https://podman.io) 1.0 or later (Podman 4.1 on macOS).
7+
* [Docker](https://www.docker.com/) 20.10 or later, or [Podman](https://podman.io) 4.4 or later.
88
* [GNU make](https://www.gnu.org/software/make/)
99

10-
If you are working in the Windows Subsystem for Linux, follow [this guide by Microsoft to set up Docker](https://blogs.msdn.microsoft.com/commandline/2017/12/08/cross-post-wsl-interoperability-with-docker/) first.
11-
1210
## Building Images
1311

1412
To build an IBM MQ image, navigate to the appropriate section:

0 commit comments

Comments
 (0)