Closed felipeplets closed 6 years ago
Not currently @felipeplets, we do build a docker image internally but not in a way that would be generic enough for public consumption.
To do this properly we'd have to make a config.docker.js
file and map all config variables to environment variables so you can configure them during docker deploys, for things like deep objects that could get messy.
Got it @MarshallOfSound. But maybe for now we could build a docker only for easier reuse and not for direct public consumption.
Let's say we publish it as nucleus in Docker Store, then my Dockerfile would be:
FROM nucleus:0.5
COPY config.js /opt/service/config.js
In this use case let's say I need to update from 0.5.0 to 0.5.1 I would only need to trigger a rebuild. Also if I want to update to a 0.6 version I can only change the tag and rebuild.
@felipeplets There is now an automatically built docker image available at atlassian/nucleus
It works exactly how you described above, just depend on that nucleus image and copy your config.js file in.
I'll put documentation in the README about it shortly 👍
Is there a published official docker image?