chucknorris-io / chuck-api

👊 chucknorris.io is a free resource for hand curated Chuck Norris facts.
https://api.chucknorris.io
GNU General Public License v3.0
239 stars 29 forks source link

Issues building docker image #17

Closed mflopez79 closed 5 years ago

mflopez79 commented 5 years ago

Hello,

I was trying to build the docker image using the docker-compose file provided by this project, and came across this error

ERROR: Service 'postgres' failed to build: The command '/bin/sh -c aws s3 cp s3://io.chucknorris.api/database/latest.sql /docker-entrypoint-initdb.d/latest.sql' returned a non-zero code: 255

In fact, trying to execute this command by hand

→ aws s3 cp s3://io.chucknorris.api/database/latest.sql .
fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Would you please make latest.sql available again?

Thanks a lot

matchilling commented 5 years ago

Hi @mflopez79 👋, thanks for getting in touch and sorry for my delayed reply. Unfortunately I'm not planning to open source the database at the moment. But feel free to message me and tell me more about your specific your use case. Maybe there's a chance for collaborating on a new feature for the app.

Bests, Mathias

mflopez79 commented 5 years ago

This is not related to open source the database, it's a step on the docker building that fails (downloading latest.sql). Maybe that's not the database per se, only the schemas, I did a guess based on the filename.

tl;dr: docker build is broken and cannot be built

matchilling commented 5 years ago

Hey,

nope, the docker build fails as the resource the AWS S3 agent is trying to retrieve is private. The db schema can be found here https://github.com/chucknorris-io/chuck-db though. I'll remove the ref in the Dockerfile and will just add some example.

Bests, Mathias

On Mon, Mar 25, 2019 at 12:51 AM Matias Lopez notifications@github.com wrote:

This is not related to open source the database, it's a step on the docker building that fails (downloading latest.sql). Maybe that's not the database per se, only the schemas, I did a guess based on the filename.

tl;dr: docker build is broken and cannot be built

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/chucknorris-io/chuck-api/issues/17#issuecomment-476014475, or mute the thread https://github.com/notifications/unsubscribe-auth/AJY2HRc1kdCmCUpa3gES7a9H6k80fzXEks5vaA9lgaJpZM4cBtn8 .

mflopez79 commented 5 years ago

Perfect, thanks!

On Sun, Mar 24, 2019, 20:54 Mathias Schilling notifications@github.com wrote:

Hey,

nope, the docker build fails as the resource the AWS S3 agent is trying to retrieve is private. The db schema can be found here https://github.com/chucknorris-io/chuck-db https://github.com/chucknorris-io/chuck-db though. I'll remove the ref in the Dockerfile and will just add some example.

Bests, Mathias

On Mon, Mar 25, 2019 at 12:51 AM Matias Lopez notifications@github.com wrote:

This is not related to open source the database, it's a step on the docker building that fails (downloading latest.sql). Maybe that's not the database per se, only the schemas, I did a guess based on the filename.

tl;dr: docker build is broken and cannot be built

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub < https://github.com/chucknorris-io/chuck-api/issues/17#issuecomment-476014475 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AJY2HRc1kdCmCUpa3gES7a9H6k80fzXEks5vaA9lgaJpZM4cBtn8

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chucknorris-io/chuck-api/issues/17#issuecomment-476014767, or mute the thread https://github.com/notifications/unsubscribe-auth/ADogA2hn7rQ3vL8oDQ28mF1RU6r-RH40ks5vaBBFgaJpZM4cBtn8 .