Add PBR_VERSION argument to Dockerfile

This allows the use of the PBR_VERSION environment variable when
building container imasges.  This facilitates custom version numbers
with builds.

Change-Id: Ib0156836285a798ebe184691d109301bdf751efb
This commit is contained in:
James E. Blair 2023-01-18 16:47:18 -08:00
parent c6b98116f5
commit c3ea135eaa

View File

@ -29,6 +29,7 @@ ARG REACT_APP_ENABLE_SERVICE_WORKER
# Kubectl/Openshift version/sha
ARG OPENSHIFT_URL=https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.11.20/openshift-client-linux-4.11.20.tar.gz
ARG OPENSHIFT_SHA=74f252c812932425ca19636b2be168df8fe57b114af6b114283975e67d987d11
ARG PBR_VERSION=
COPY . /tmp/src
COPY --from=js-builder /tmp/src/build /tmp/src/zuul/web/static