New Feature Request: pre-build command/hook
scutifer
PROOP

a year ago

Its often useful to run a command before Railway builds a Docker image. An immediate use case is to initialise and fetch Git submodules. See https://station.railway.com/questions/building-an-image-with-git-submodules-014a51ab. Generally, this is to "prepare a source tree" before it can be built. C/C++/"old native" codebases are like this.

The command has to be run right after you pull the source and before you start building the image.

Under Review

0 Threads mention this feature

1 Replies

pulkitbajaj1999
HOBBY

a month ago

This feature will be very helpful will save the whole build stage to clone github repo with submodules in my case.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...