vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 15 forks source link

Make prepull work with any image #406

Open jorgemoralespou opened 3 weeks ago

jorgemoralespou commented 3 weeks ago

Describe the bug

Currently, image prepull feature only works for images with /bin/sh in them and not sure whether there's advice in the docs around this (as I couldn't find any)

Additional information

It'll be good to change how the image puller is created so that it can inject a binary into the images and execute it to make sure any container can run. This binary can be the simplest go binary that does nothing.