Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to UBI image #73

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbusche
Copy link

@jbusche jbusche commented Jun 15, 2022

First attempt at switching to UBI images - seemed to work using podman on my laptop, but want to see how it runs on docker and together with MLX.

machine-learning-exchange/mlx#341

Signed-off-by: James Busche <jbusche@us.ibm.com>
@ckadner
Copy link
Member

ckadner commented Jul 21, 2022

Thanks @jbusche -- just getting back to this. I pushed your images to the mlexchange org on DockerHub, though we should probably move them to quay.io

for f in component-samples/*/Dockerfile; do 
  cd "${f%/*}"; pwd;
  export tag="mlexchange/$(basename $PWD):ubi"; 
  echo "Building ${tag} ..."; 
  docker build -t $tag . ; 
  echo "Pushing ${tag} ..." ; 
  docker push "${tag}"; 
  cd - > /dev/null; 
  echo;
done;

https://hub.docker.com/u/mlexchange

curl -s https://hub.docker.com/v2/repositories/mlexchange/?page_size=100 | \
  jq -r '.results|.[]|.namespace+"/"+.name+":ubi"' | \
  grep -v -E "mlx|katalog"
mlexchange/create-secret:ubi
mlexchange/dax-to-dlf:ubi
mlexchange/dlf:ubi
mlexchange/kube-model-deployment:ubi
mlexchange/model-config:ubi

It will take me a little more time to actually try out the new images. I need to change some MLX code to pick up the new images where we are referring to the images from within the MLX code or code templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants