-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scalafmt Dockerhub has stopped updating #4761
Comments
Thank you @kitbellew |
@kitbellew Sorry, I don't suppose you could trigger it retrospectively for 3.8.6? |
Certainly! How? |
Haha @kitbellew - fair point. I'd be happy to build one by hand and provide it for you to push with the docker creds? But look I don't want to waste your time. If the resolution is that docker images aren't present for the last couple of releases and that they'll be present again from the next release I'm very happy to wait for that. |
Unfortunately this also didn't succeed with 3.9.0 but I don't have permission to reopen this issue |
3.9.1 and 3.9.2 wrote images but unfortunately both are faulty
|
I see two options:
For the reference, here's the build that published this image, @tgodzik what do you think? |
If there is binaries available building a docker image separately should be trivial. We just need one curl invocation and extract it. Do we really need the docker image built here? |
If sharing my use case helps, I fetch the docker image in a CI/CD pipeline to run scalafmt against my code as a dedicated job. I guess a benefit of docker Vs. Edit: But I imagine people could employ CI/CD file caches if it's available to them to similar effect? |
so you're using docker as a package manager. and if you're using docker, i doubt you're speed-sensitive and require a native image. i am assuming your pipeline does something other than just formatting (also, why do you need formatting in a CI/CD pipeline as opposed to a formatting check?). perhaps it uses sbt, in which case you could simply use sbt-scalafmt plugin (and take advantage of any ivy caching). my point is simple: i do not know how this docker image is broken, i can't examine it, and with the wide adoption of integrations like sbt and scala-cli, this integration emerges as straight-up tech debt... |
I could swallow that, especially if no one else is making any noise about it! Ultimately I agree with you, the way we're doing it in our pipelines (it's a check job in the pipeline so that PRs with poor formatting can't be merged) can probably be replaced by some other form of caching the downloaded scalafmt version. |
Requirement
I was hoping to pull the latest version of Scalafmt, 3.8.6, to run in a docker container
Issue
I notice that public images have not been updated on Dockerhub since 3.8.4-RC4 https://hub.docker.com/r/scalameta/scalafmt/tags
Question
Would it be possible to push the latest images please? :-)
cc @olafurpg as you seem to publish images most regularly
Thanks everyone
The text was updated successfully, but these errors were encountered: