6 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:
libmagic1I 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!
3 Replies
6 months ago
Hey, please edit your thread to the English language, as the central station is English only.
6 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:
libmagic1I 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 file is in the root of the repo and contains only:libmagic1I 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!
6 months ago
Hey, can you try setting the RAILPACK_BUILD_APT_PACKAGES or RAILPACK_DEPLOY_APT_PACKAGES service variable as per the Railpack docs?