You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ARCH is the platform architecture in Go-style (e.g. amd64, ppc64le, s390x or arm64).
28
+
# Override this to build an image for a different architecture. Note that RUN instructions will not be able to succeed without the help of emulation provided by packages like qemu-user-static.
29
+
ARCH ?= $(arch_go)
23
30
# RELEASE shows what release of the container code has been built
24
31
RELEASE ?=
25
32
# MQ_ARCHIVE_REPOSITORY is a remote repository from which to pull the MQ_ARCHIVE (if required)
# LTS is a boolean value to enable/disable LTS container build
66
71
LTS ?= false
67
72
# VOLUME_MOUNT_OPTIONS is used when bind-mounting files from the "downloads" directory into the container. By default, SELinux labels are automatically re-written, but this doesn't work on some filesystems with extended attributes (xattrs). You can turn off the label re-writing by setting this variable to be blank.
@@ -108,12 +113,17 @@ endif
108
113
109
114
# Try to figure out which archive to use from the architecture
110
115
ifeq "$(ARCH)" "amd64"
111
-
MQ_ARCHIVE_ARCH=X86-64
112
-
MQ_ARCHIVE_DEV_ARCH=X64
116
+
MQ_ARCHIVE_ARCH:=X86-64
117
+
MQ_ARCHIVE_DEV_ARCH:=X64
113
118
else ifeq "$(ARCH)" "ppc64le"
114
-
MQ_ARCHIVE_ARCH=PPC64LE
119
+
MQ_ARCHIVE_ARCH:=PPC64LE
120
+
MQ_ARCHIVE_DEV_ARCH:=PPC64LE
115
121
else ifeq "$(ARCH)" "s390x"
116
-
MQ_ARCHIVE_ARCH=S390X
122
+
MQ_ARCHIVE_ARCH:=S390X
123
+
MQ_ARCHIVE_DEV_ARCH:=S390X
124
+
else ifeq "$(ARCH)" "arm64"
125
+
MQ_ARCHIVE_ARCH:=ARM64
126
+
MQ_ARCHIVE_DEV_ARCH:=ARM64
117
127
endif
118
128
119
129
# If this is a fake master build, push images to alternative location (pipeline wont consider these images GA candidates)
0 commit comments