GraalVM

Hi, is it possible to build a graalvm image in nixpacks? https://github.com/railwayapp/nixpacks/issues/961
GitHub
GraalVM Nixpacks · Issue #961 · railwayapp/nixpacks
Feature request GraalVM has gained significant popularity as a high-performance, polyglot runtime for various languages. To support the seamless integration of GraalVM into the Cloud Native ecosyst...
34 Replies
Percy
Percy15mo ago
Project ID: N/A
avollmaier
avollmaierOP15mo ago
N/A or is it possible to directly deploy my docker image with a native compiled artifact inside?
Brody
Brody15mo ago
you can deploy a pre built docker image as long as it's public and hosted on dockerhub or github packages, or you can let railway build an image with your dockerfile
avollmaier
avollmaierOP15mo ago
pre built docker image would be great - how is this possible?
avollmaier
avollmaierOP15mo ago
No description
Brody
Brody15mo ago
well first, do you want to even deploy it as a new project or do you have a project and service you want to add its source to?
Adam
Adam15mo ago
Deploy from a repo or upload from the cli with a dockerfile named Dockerfile in the root folder
Brody
Brody15mo ago
my understanding is that they're talking about an already built docker image
avollmaier
avollmaierOP15mo ago
give me a sec, i've found the docker deploy section
Brody
Brody15mo ago
please clarify for us, are you talking about a pre built docker image or are you talking about a dockerfile?
avollmaier
avollmaierOP15mo ago
pre built docker image
Brody
Brody15mo ago
okay please answer
avollmaier
avollmaierOP15mo ago
i want to add a new service with that docker image this could be a workaround to have a native spring image in railway
Brody
Brody15mo ago
do you already have a project I'm railway where you want to deploy this image?
avollmaier
avollmaierOP15mo ago
yeah
Brody
Brody15mo ago
do you already have a service that you want to deploy the image to?
avollmaier
avollmaierOP15mo ago
i have created this service now with this id: 73369300-cb71-4e9b-b488-59a5bb27f3b4
Brody
Brody15mo ago
do you have all the service variables setup? have you generated a domain?
avollmaier
avollmaierOP15mo ago
nope my own domain
Brody
Brody15mo ago
perfect do you use a database?
avollmaier
avollmaierOP15mo ago
no
Brody
Brody15mo ago
okay then go to the service settings and add the docker image under the source settings
avollmaier
avollmaierOP15mo ago
this isnt solved yet why does it uses so much memory - 73369300-cb71-4e9b-b488-59a5bb27f3b4 - this is my serive id
Brody
Brody15mo ago
I don't work for railway, those ids don't do anything for me how much memory is so much?
avollmaier
avollmaierOP15mo ago
260 MB - native images use 50
Brody
Brody15mo ago
doesn't seem like all that much tbh
avollmaier
avollmaierOP15mo ago
could it be the railway os... :/
Brody
Brody15mo ago
are you deploying from an image or from a repo?
avollmaier
avollmaierOP15mo ago
image
Brody
Brody15mo ago
then railway deployed your image as is can you access the app from your domain?
avollmaier
avollmaierOP15mo ago
found the problem
Brody
Brody15mo ago
awsome
avollmaier
avollmaierOP15mo ago
memory consumption before vs after
No description
avollmaier
avollmaierOP15mo ago
now my microservices are using 40mb each and start in 0.099seconds
Want results from more Discord servers?
Add your server