Adds Dockerfile. Closes #1786#1926
Conversation
|
Hey @garrytrinder, before we consider the issue closed, shall we try to integrate building and publishing the Docker image in our CI/CD so that it's done automatically on each release? |
|
Thanks for the feedback @waldekmastykarz I did mean to mark this as draft and start these discussions, you beat me to it 😊 |
|
A couple of things that we should also consider in this image.
|
481e748 to
68e5e66
Compare
Update
BuildUsageTags (Docker Hub)
|
waldekmastykarz
left a comment
There was a problem hiding this comment.
Before we merge this, shall we incorporate it in our CI/CD pipe so that we don't need to push it manually on each release?
|
We should also include an update to the telemetry so we can track the requests made from Docker. |
f44b230 to
1720a88
Compare
|
@waldekmastykarz added update to CI/CD, it does require environment variables for Docker username and password however. Will look at adding the telemetry tomorrow, any preference on the environment variable name that we use? |
|
|
waldekmastykarz
left a comment
There was a problem hiding this comment.
Let's adjust a few things in the CI pipe before proceeding
|
Apologies @waldekmastykarz really sloppy PR this one, hopefully all should be good now. I'll leave this in draft to work on a doc page as discussed. |
|
Nah, don't worry about it. No harm done. That's why we do reviews 🙂 |
|
@YannickRe apologies, looks like the image does not update when I re-push the |
|
@garrytrinder no worries! In my DevOps pipeline it redownloads the image every run (cloud hosted agent for testing), and I tested just this morning with both. Good you are seeing the version differences! Just wanted to inform you, in case the automatic process needed some tweaking :) |
This is odd, given that the last time we tried to run CI with these changes merged, it failed because it couldn't find
In the past I've tested the setup with my own repo. Not quite trivial if you ask me. If you're convinced that we have everything we need, we can also test here. You could also have a look at https://circleci.com/docs/2.0/local-cli/. |
Not deny that 😁 I think it's the Docker setup step that performs the magic echo we were missing.
Exactly the reason I've not got round to testing it fully yet 😁 I'll take a look at the local CLI & spend some time on this later in the week. No rush, it goes when it's ready. Thanks for your input on this @waldekmastykarz bit of a learning curve but I'm getting there 😁 |
|
@YannickRe Added |
|
@garrytrinder tested |
|
@YannickRe yes that's correct
Do you see something different with |
|
No, I haven't checked. Wrongly assumed from your previous message that you put the same version in |
|
Lost in translation, sorry, I should have been clearer. I meant that the latest tag would have the same issue as the beta tag and not updating correctly, as we don't target a specific version of the CLI in the build for those tags but rather an alias, so Docker doesn't see it as a change & so pulled from cache. |
1791e4f to
618a2d4
Compare
a86207e to
f5ecc01
Compare



Closes #1786