riceboy26
riceboy26
RRunPod
Created by riceboy26 on 10/26/2024 in #⛅|pods
Building and deploying dockerfile from Pod
Has anyone figured out how to properly build and push a dockerfile in a runpod pod? https://docs.runpod.io/tutorials/pods/build-docker-images I'm trying to do this for my custom serverless worker bc my personal pc has some docker issues that i havent figured out over multiple days of debugging (i think wsl got corrupted somehow but that's a different issue). But every time i try to run bazel run //:push_custom_image, it shows the following error:
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:push_custom_image': error loading package '': Unable to find package for @@[unknown repo 'rules_oci' requested from @@ (did yo
u mean 'rules_cc'?)]//oci:defs.bzl: The repository '@@[unknown repo 'rules_oci' requested from @@ (did you mean 'rules_cc'?)]' could not be resolv
ed: No repository visible as '@rules_oci' from main repository.
ERROR: error loading package '': Unable to find package for @@[unknown repo 'rules_oci' requested from @@ (did you mean 'rules_cc'?)]//oci:defs.bz
l: The repository '@@[unknown repo 'rules_oci' requested from @@ (did you mean 'rules_cc'?)]' could not be resolved: No repository visible as '@ru
les_oci' from main repository.
INFO: Elapsed time: 0.065s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:push_custom_image': error loading package '': Unable to find package for @@[unknown repo 'rules_oci' requested from @@ (did yo
u mean 'rules_cc'?)]//oci:defs.bzl: The repository '@@[unknown repo 'rules_oci' requested from @@ (did you mean 'rules_cc'?)]' could not be resolv
ed: No repository visible as '@rules_oci' from main repository.
ERROR: error loading package '': Unable to find package for @@[unknown repo 'rules_oci' requested from @@ (did you mean 'rules_cc'?)]//oci:defs.bz
l: The repository '@@[unknown repo 'rules_oci' requested from @@ (did you mean 'rules_cc'?)]' could not be resolved: No repository visible as '@ru
les_oci' from main repository.
INFO: Elapsed time: 0.065s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
What's the proper set up for a WORKSPACE and BUILD.bazel files to get this properly going?
2 replies
RRunPod
Created by riceboy26 on 9/25/2024 in #⚡|serverless
Sharing a pod template
Do serverless templates count towards the referral? I'm trying to sharing my serverless template but it seems the templates can only create pods.
9 replies
RRunPod
Created by riceboy26 on 9/16/2024 in #⚡|serverless
webhooks on async completion
Is there some functionality in server less than would be event drive so I don’t need to keep polling to see if a job was completed?
2 replies