Railway y apt.txt
sistoconstru
FREEOP

8 months ago

Hi,

I'm using Railpack to deploy a Python project and I need to install the system library libmagic1 using apt.txt.

  • The apt.txt file is in the root of the repo and contains only: libmagic1
  • I have done several redeploys and clean builds, but in the build logs I never see the line install apt packages: libmagic1, only the default packages (libpq-dev, python3-dev, etc).
  • The content of apt.txt is correct and the file is in the right location.
  • Is there any current bug or limitation in Railpack that prevents processing apt.txt? How can I force the installation of libmagic1?

Thank you!

$10 Bounty

3 Replies

8 months ago

Hey, please edit your thread to the English language, as the central station is English only.


sistoconstru
FREEOP

8 months ago

Hi,

I'm using Railpack to deploy a Python project and I need to install the system library libmagic1 using apt.txt.

  • The apt.txt file is in the root of the repo and contains only: libmagic1
  • I have done several redeploys and clean builds, but in the build logs I never see the line install apt packages: libmagic1, only the default packages (libpq-dev, python3-dev, etc).
  • The content of apt.txt is correct and the file is in the right location.
  • Is there any current bug or limitation in Railpack that prevents processing apt.txt? How can I force the installation of libmagic1?

Thank you!


sistoconstru

Hi, I'm using Railpack to deploy a Python project and I need to install the system library libmagic1 using apt.txt. * The [apt.txt](vscode-file://vscode-app/c:/Users/Director-Inventarios/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) file is in the root of the repo and contains only: libmagic1 * I have done several redeploys and clean builds, but in the build logs I never see the line install apt packages: libmagic1, only the default packages (libpq-dev, python3-dev, etc). * The content of [apt.txt](vscode-file://vscode-app/c:/Users/Director-Inventarios/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) is correct and the file is in the right location. * Is there any current bug or limitation in Railpack that prevents processing apt.txt? How can I force the installation of libmagic1? Thank you!

8 months ago

Hey, can you try setting the RAILPACK_BUILD_APT_PACKAGES or RAILPACK_DEPLOY_APT_PACKAGES service variable as per the Railpack docs?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...