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

Server-side container image builds #43

Open
AdrianoKF opened this issue Aug 7, 2024 · 1 comment
Open

Server-side container image builds #43

AdrianoKF opened this issue Aug 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AdrianoKF
Copy link
Collaborator

As a data scientist / ML engineer, I do not want to go through the overhead of downloading all sorts of dependencies and uploading them back to the internet as a container image, before I can sub my job for execution (since I am on a limited-bandwidth connection).

Instead, I want these container images to be built on a build server, according to the image specification given as part of my job metadata.

This approach yields additional benefits:

  • Improved caching (esp. in teams), since images don't need to be built multiple times on each team members' local machine
  • No architecture gap (e.g., macOS/Linux, ARM/x64) between clients and compute server
  • No need for data scientists to install container tooling on their machine
  • Potential for security measures on the build server (e.g., vulnerability scanning, image signing, SBOM, ...)
@AdrianoKF AdrianoKF added the enhancement New feature or request label Aug 7, 2024
@maxmynter maxmynter assigned maxmynter and unassigned maxmynter Sep 2, 2024
@AdrianoKF
Copy link
Collaborator Author

I've hacked together a Trie-based path matching class that can be used to validate Gitignore (or Dockerignore) patterns against a file path: https://gist.github.com/AdrianoKF/d5bf77f200592c2cab2b8633b85f8a97

This can serve as the starting point when building an archive of the build context locally for upload to the server.

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

No branches or pull requests

2 participants