Use Red Hat registry for all images in build

This commit is contained in:
Arthur Barr
2020-11-17 14:18:22 +00:00
committed by Arthur J Barr
parent efb35ff1b0
commit c39a532da9
2 changed files with 4 additions and 4 deletions

View File

@@ -14,12 +14,12 @@
ARG BASE_IMAGE=registry.redhat.io/ubi8/ubi-minimal
ARG BASE_TAG=8.3-201
ARG GO_WORKDIR=/go/src/github.com/ibm-messaging/mq-container
ARG GO_WORKDIR=/opt/app-root/src/go/src/github.com/ibm-messaging/mq-container
ARG MQ_URL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/9.2.0.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz"
###############################################################################
# Build stage to build Go code
###############################################################################
FROM golang:1.14.9 as builder
FROM registry.redhat.io/ubi8/go-toolset:1.14.7-15 as builder
# The URL to download the MQ installer from in tar.gz format
# This assumes an archive containing the MQ Non-Install packages
ARG MQ_URL