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
Percy14mo ago
Project ID: N/A
avollmaier
avollmaier14mo ago
N/A or is it possible to directly deploy my docker image with a native compiled artifact inside?
Brody
Brody14mo 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
avollmaier14mo ago
pre built docker image would be great - how is this possible?
avollmaier
avollmaier14mo ago
No description
Brody
Brody14mo 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
Adam14mo ago
Deploy from a repo or upload from the cli with a dockerfile named Dockerfile in the root folder
Brody
Brody14mo ago
my understanding is that they're talking about an already built docker image
avollmaier
avollmaier14mo ago
give me a sec, i've found the docker deploy section
Brody
Brody14mo ago
please clarify for us, are you talking about a pre built docker image or are you talking about a dockerfile?
avollmaier
avollmaier14mo ago
pre built docker image
Brody
Brody14mo ago
okay please answer
avollmaier
avollmaier14mo 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
Brody14mo ago
do you already have a project I'm railway where you want to deploy this image?
avollmaier
avollmaier14mo ago
yeah
Brody
Brody14mo ago
do you already have a service that you want to deploy the image to?
avollmaier
avollmaier14mo ago
i have created this service now with this id: 73369300-cb71-4e9b-b488-59a5bb27f3b4
Brody
Brody14mo ago
do you have all the service variables setup? have you generated a domain?
avollmaier
avollmaier14mo ago
nope my own domain
Brody
Brody14mo ago
perfect do you use a database?
avollmaier
avollmaier14mo ago
no
Brody
Brody14mo ago
okay then go to the service settings and add the docker image under the source settings
avollmaier
avollmaier14mo ago
this isnt solved yet why does it uses so much memory - 73369300-cb71-4e9b-b488-59a5bb27f3b4 - this is my serive id
Brody
Brody14mo ago
I don't work for railway, those ids don't do anything for me how much memory is so much?
avollmaier
avollmaier14mo ago
260 MB - native images use 50
Brody
Brody14mo ago
doesn't seem like all that much tbh
avollmaier
avollmaier14mo ago
could it be the railway os... :/
Brody
Brody14mo ago
are you deploying from an image or from a repo?
avollmaier
avollmaier14mo ago
image
Brody
Brody14mo ago
then railway deployed your image as is can you access the app from your domain?
avollmaier
avollmaier14mo ago
found the problem
Brody
Brody14mo ago
awsome
avollmaier
avollmaier14mo ago
memory consumption before vs after
No description
avollmaier
avollmaier14mo ago
now my microservices are using 40mb each and start in 0.099seconds
Want results from more Discord servers?
Add your server