-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Add multi-arch support, update run-image, and streamline build process #97
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
base: main
Are you sure you want to change the base?
Changes from all commits
8dd6821
35b3d58
312bc8a
c2370e7
7e52dca
15fc6aa
0111fde
f0d0556
e1653cb
b015408
4c999a3
ddedfe9
6ac6739
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| description = "CUDA enabled builder for Renku frontends and environments." | ||
|
|
||
| [[build.env]] | ||
| name = "BP_RENKU_FRONTENDS" | ||
| value = "vscodium" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "docker://ghcr.io/swissdatasciencecenter/vscodium-buildpack/vscodium:0.5.1" | ||
| id = "vscodium" | ||
| version = "0.5.1" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "../../buildpacks/conda-nodefaults" | ||
| version = "0.1.0" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "../../buildpacks/kernel-installer" | ||
| version = "0.1.0" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "../../buildpacks/jupyterlab" | ||
| version = "0.1.0" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "../../buildpacks/ttyd" | ||
| version = "0.1.0" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "../../buildpacks/python-dependency-manager" | ||
| version = "0.1.0" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "../../buildpacks/rstudio" | ||
| version = "0.1.0" | ||
|
|
||
| [[buildpacks]] | ||
| uri = "docker://docker.io/paketobuildpacks/python:2.38.0" | ||
| version = "2.38.0" | ||
|
|
||
| [[buildpacks]] | ||
| id = "paketo-buildpacks/miniconda" | ||
| uri = "docker://docker.io/paketobuildpacks/miniconda:0.11.5" | ||
| version = "0.11.5" | ||
|
|
||
| [lifecycle] | ||
| version = "0.20.16" | ||
|
|
||
| [[order]] | ||
|
|
||
| [[order.group]] | ||
| id = "renku/conda-nodefaults" | ||
| version = "0.1.0" | ||
| optional = true | ||
| [[order.group]] | ||
| id = "paketo-buildpacks/miniconda" | ||
| version = "0.11.5" | ||
| [[order.group]] | ||
| id = "paketo-buildpacks/python" | ||
| version = "2.38.0" | ||
| [[order.group]] | ||
| id = "renku/python-dependency-manager" | ||
| version = "0.1.0" | ||
| [[order.group]] | ||
| id = "renku/jupyterlab" | ||
| version = "0.1.0" | ||
| [[order.group]] | ||
| id = "renku/kernel-installer" | ||
| version = "0.1.0" | ||
|
|
||
| [[order]] | ||
| [[order.group]] | ||
| id = "renku/conda-nodefaults" | ||
| version = "0.1.0" | ||
| optional = true | ||
| [[order.group]] | ||
| id = "paketo-buildpacks/python" | ||
| version = "2.38.0" | ||
| [[order.group]] | ||
| id = "renku/python-dependency-manager" | ||
| version = "0.1.0" | ||
| [[order.group]] | ||
| id = "renku/ttyd" | ||
| version = "0.1.0" | ||
|
|
||
| [[order]] | ||
|
|
||
| [[order.group]] | ||
| id = "renku/conda-nodefaults" | ||
| version = "0.1.0" | ||
| optional = true | ||
| [[order.group]] | ||
| id = "paketo-buildpacks/python" | ||
| version = "2.38.0" | ||
| [[order.group]] | ||
| id = "renku/python-dependency-manager" | ||
| version = "0.1.0" | ||
| [[order.group]] | ||
| id = "vscodium" | ||
| version = "0.5.1" | ||
|
|
||
| [[order]] | ||
|
|
||
| [[order.group]] | ||
| id = "renku/conda-nodefaults" | ||
| version = "0.1.0" | ||
| optional = true | ||
| [[order.group]] | ||
| id = "paketo-buildpacks/miniconda" | ||
| version = "0.11.5" | ||
| [[order.group]] | ||
| id = "renku/rstudio" | ||
| version = "0.1.0" | ||
|
|
||
| [build] | ||
| image = "ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/build-cuda-image:0.1.0" | ||
|
|
||
| [run] | ||
| [[run.images]] | ||
| image = "ghcr.io/swissdatasciencecenter/renku-frontend-buildpacks/run-cuda-image:0.1.0" | ||
| mirrors = [] | ||
|
|
||
| [[targets]] | ||
| os = "linux" | ||
| arch = "amd64" | ||
|
|
||
| [[targets]] | ||
| os = "linux" | ||
| arch = "arm64" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,7 @@ version = "0.1.0" | |
| [[targets]] | ||
| os = "linux" | ||
| arch = "amd64" | ||
|
|
||
| [[targets]] | ||
| os = "linux" | ||
| arch = "arm64" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,12 +18,6 @@ cat >"${CNB_BUILD_PLAN_PATH}" <<EOL | |
| [[provides]] | ||
| name = "jupyterlab" | ||
|
|
||
| [[requires]] | ||
| name = "tini" | ||
|
|
||
| [requires.metadata] | ||
| launch = true | ||
|
|
||
|
Comment on lines
-21
to
-26
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: why remove this? If it is already there I think then it won't be installed. I think with the changes you have made with this and by adding tini to the run image then you make the buildpacks only work with our run image. I was hoping we can keep things as general as possible.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tini is not multi-arch in paketo's buildpack. I could make my own tini buildpack instead if it's any useful |
||
| [[requires]] | ||
| name = "jupyterlab" | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,7 @@ version = "0.1.0" | |
| [[targets]] | ||
| os = "linux" | ||
| arch = "amd64" | ||
|
|
||
| [[targets]] | ||
| os = "linux" | ||
| arch = "arm64" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,7 @@ version = "0.1.0" | |
| [[targets]] | ||
| os = "linux" | ||
| arch = "amd64" | ||
|
|
||
| [[targets]] | ||
| os = "linux" | ||
| arch = "arm64" | ||
Uh oh!
There was an error while loading. Please reload this page.