Closed ksmandersen closed 7 years ago
@ksmandersen seems it is not related to dokku actually but looks like Swift compiler issue while building your project. I think you could try to install libicu first on your Linux machine
apt-get install libicu-dev
or
apt-get install libicu52
@alexfedosov Yeah, I googled around and saw that. I tried that but keep getting the errors.
From my limited understanding that wont solve the problem since (i am guessing) the compilation and linking of the app happens in the docker container it builds. So you would need to run the apt-get install ibicu-dev
inside that container. Is it possible to do that as a step in the buildpack?
@ksmandersen I can't test it now but have an idea that basically you fork the buildpack and add
apt-get install libicu
somewhere inside bash script.
I would try to put it there:
https://github.com/vapor-community/heroku-buildpack/blob/master/bin/steps/swift-build)
as a second line. Let me know if it works, please.
@alexfedosov Thanks for the help. I'll try that out later fore sure.
I the meantime i found this dokku plugin that lets you inject deb packages into the container: https://github.com/F4-Group/dokku-apt. Using that I fixed the linking error.
Hi š . This example project is really awesome! I love dokku and would love to use it for my swift server projects. I tried replicating your setup here but get the following error when attempting to push:
I am running dokku 0.10.2
Hope you have some insight into my problem