Help Installing Linux Packages
I need to run these commands:
so I can use SkiaSharp for my project. Is there anything else I can do to get these packages, or is there a way to run these commands?
Solution:Jump to solution
A docker image is going to be your best bet. Just setup your image to download everything you need for the build and the entry point for the deployment command.
33 Replies
Project ID:
N/A
N/A
Solution
A docker image is going to be your best bet. Just setup your image to download everything you need for the build and the entry point for the deployment command.
while i like dockerfiles more than the next guy, it would be easier for the end user to attempt this with nixpacks, and if that doesnt work then its dockerfile time.
so lets attempt it with nixpacks, add this nixpacks.toml file to your project -
Hmmm, actually, I do get what you mean here. Yea, if everything else was already working, just try a simple nixpacks config update.
hehe, I was too focused on the fact that they wrote out the exact command they needed "
RUN
"haha oops, I am not used to using config on this project lol my bad
it was close, they'd need a -y flag to apt-get install too
hmm, this still did not fix my issue
build logs please - https://bookmarklets.up.railway.app/log-downloader/
it might not be in the build logs
my project can deploy and parts of it work
please send the build logs anyway
just not the part which uses SkiaSharp
ok
these are the deploy logs
indeed my bad
Yep they are getting installed, but it still doesnt work, was worth a shot but we have to go with joshie's recommendation, you will need to write a Dockerfile
dang
why does it always build with NIX packs and not the docker file?
is your Dockerfile named
Dockerfile
?yes
is it located in the root of your project or the root according to your service settings?
yes
build logs please
are you able to share your repo?
uh yeah,
GitHub
GitHub - bob-el-bot/BobTheBot at railway-test
The discord bot for 🎲 RNG, 🖊️ quoting, 📜 fonts, 🔒 encryption, and ✨ more! - GitHub - bob-el-bot/BobTheBot at railway-test
this specific branch
it is not
ah.....
thanks very much for the help
got it working?
yup
awsome!
please do not close threads