Closed hanoii closed 1 year ago
I think @lolautruche actually wants perpetual update; I'm not much of a fan of that.
But you are doing the update on post-start, so it's kind of perpetual. With this you are saving some polling and the a possible update while you are working.
Yes, I moved it because of your request. Please say what you'd want to do. My preference is to keep it in the Dockerfile and use this env.
:) I like the post-start
better. What I am saying is that now that you are updating it in the post-start (thus, very frequently), it makes it more logical to add the env var at this time. Not saying to revert the other bit.
Thanks @hanoii for your suggestion. This will change in the near future with the new CLI in Go, which won't be able to auto-update (it will be installed/updated using APT or binary direct download)
I was going to add it to the Dockerfile, but this should probably go into
config.platformsh.yaml
and while I was going to try a quick edit, I think #39 needs to be addressed first.