diff --git a/Dockerfile b/Dockerfile index 49d95a46330f72945ebf6e0b8608f65a12198196..37248f818b07d08f50fab3d261d00fb28156f4e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Build the intermediate container ARG BASE_REGISTRY=registry1.dsop.io/ironbank/redhat/ubi ARG BASE_IMAGE=ubi8 -ARG BASE_TAG=8.2 +ARG BASE_TAG=8.3 FROM kubeflow-images-public/admission-webhook:v20190520-v0-139-gcee39dbc-dirty-0d8f4c AS base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} diff --git a/Makefile b/Makefile index 7c4abd14bb05fbbfd51c16fb7df139f033eced12..2b2a1b7e1a592a611ba443c052f2cf3d274aa9a5 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,11 @@ history: ${ORIGINAL} \ --no-trunc | tac | tee history.txt -build: +pull: + docker pull gcr.io/kubeflow-images-public/admission-webhook@sha256:82f41fd8878ead19616b577c537d2ff83ea576b78478b2f8819caa83eeac0ee0 + docker tag gcr.io/kubeflow-images-public/admission-webhook@sha256:82f41fd8878ead19616b577c537d2ff83ea576b78478b2f8819caa83eeac0ee0 kubeflow-images-public/admission-webhook:v20190520-v0-139-gcee39dbc-dirty-0d8f4c + +build: pull docker build --no-cache \ --build-arg BASE_REGISTRY="registry.access.redhat.com" \ -t ${HARDENED} . @@ -35,4 +39,6 @@ run: run-it: docker run -it --rm \ - ${HARDENED} /bin/bash \ No newline at end of file + ${HARDENED} /bin/bash + +all: pull fast run \ No newline at end of file