I'm building a commit right now that pins the homer-api & homer-ui verisons by commit hash. This one: sipcapture/homer-docker@e8fa985
On my wishlist is tags with semver or something (which I see has been done at least during major releases, very nice) on those projects. It will look nicer in the dockerfile when I can pin it at specific tags, e.g. we can clone a tag like...
git clone --branch vX.Y.Z https://github.com/sipcapture/homer-ui.git
Because we've had homer-ui & homer-api running @ HEAD I'm running into a bit of "Schrödinger's Docker images" where I don't know if the Dockerfile is going to be working or not until I build it. In this case today, because of some changes to the new rotation scripts, I'm seeing it happen again.
For now, I'm just going to git checkout [sha-1] in the Dockerfile, and I'll merge what I've got for now (assuming the build is verified). But, this will allow us to be sure that it will work when HEAD is changing on the primary projects. And, when the time's right, to go ahead and test it out with newer commits.
I'm building a commit right now that pins the homer-api & homer-ui verisons by commit hash. This one: sipcapture/homer-docker@e8fa985
On my wishlist is tags with semver or something (which I see has been done at least during major releases, very nice) on those projects. It will look nicer in the dockerfile when I can pin it at specific tags, e.g. we can clone a tag like...
Because we've had homer-ui & homer-api running @
HEADI'm running into a bit of "Schrödinger's Docker images" where I don't know if the Dockerfile is going to be working or not until I build it. In this case today, because of some changes to the new rotation scripts, I'm seeing it happen again.For now, I'm just going to
git checkout [sha-1]in the Dockerfile, and I'll merge what I've got for now (assuming the build is verified). But, this will allow us to be sure that it will work whenHEADis changing on the primary projects. And, when the time's right, to go ahead and test it out with newer commits.