-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add EventStore image #5327
Add EventStore image #5327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Purely technical review to help taking off some load from the Docker Library team. I am not part of the Docker Library Team, so take this review with a grain of salt and possibly wait for a general “ok” before taking time to fix the image.
That said (reviewing the master
of the repository, as the commit is invalid):
HEALTHCHECK
s are discouraged / forbidden in official images: https://github.com/docker-library/faq#healthcheckMAINTAINER
is deprecated for Docker itself: https://docs.docker.com/engine/reference/builder/#maintainer-deprecatedENV DEBIAN_FRONTEND=noninteractive
is a nono: ENV DEBIAN_FRONTEND noninteractive moby/moby#4032 (comment)- The
script.deb.sh
file is not being validated before being executed: https://github.com/docker-library/official-images#image-build - The
fSL
flags are missing from thecurl
invocation curl
should probably be removed (or is it required in the final image?)- Your entrypoint does not allow to execute bash: https://github.com/docker-library/official-images#consistency
|
||
GitRepo: https://github.com/EventStore/eventstore-docker | ||
|
||
Tags: release-4.1.1-hotfix1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably want to have latest
, 4
and 4.1
aliases.
GitRepo: https://github.com/EventStore/eventstore-docker | ||
|
||
Tags: release-4.1.1-hotfix1 | ||
GitCommit: cd0eafec71baffbcc0b9a4bb7c58e996cf290d34 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot find that commit in https://github.com/EventStore/eventstore-docker.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it appears this is a commit on the main EventStore repo, not the eventstore-docker repo: EventStore/EventStore@cd0eafe
I'd recommend giving https://github.com/docker-library/official-images#contributing-to-the-standard-library a read-through (and @TimWolla's other comments were definitely spot-on ❤️). There appear to be quite a few things noted in the docs there that aren't adhered to here.
I'd also add that apt-get autoremove
isn't likely to do anything (since you don't have any packages being removed here), and apt-get clean
is done automatically by the base image itself. Also, if your install process is leaving extra files in /tmp
or /var/tmp
, I'd highly recommend trying to figure out why (since installing a Debian package shouldn't typically be leaving trash in those places).
Apologies for the long delay. 🙇♂️ Is this PR still a desirable addition? I see that there was a PR to adjust the Dockerfile, but it seems to have stalled (EventStore/eventstore-docker#61). How can we help? |
We have moved our I think we have addressed most concerns (except |
Again, apologies for the delays. 🙇♂️ New images unfortunately get the least priority but often take the most time to review, so they often fall by the wayside. Unfortunately moving the Dockerfile (while useful for local development) doesn't work well as the target for official-images. Since the Dockerfile uses Regarding multi-stage builds for official-images, see our FAQ entry on multi-stage builds and the beginning of this comment (docker-library/ghost#209) for my current thoughts. I can continue to review the Dockerfile in As for review on the |
Diff for d779a78:failed fetching repo "eventstore"
unable to find a manifest named "eventstore" (in "/tmp/tmp.S8InPcHo6O/oi/library" or as a remote URL)
failed fetching repo "eventstore"
cannot parse manifest in either format:
RFC 2822 error: Tags "" has invalid GitCommit (must be a commit, not a tag or ref): ""
Line-based error: manifest line missing '@': GitRepo: https://github.com/EventStore/eventstore-docker |
Closing this for now -- when the repository is updated with the requested changes and you're ready to recommit to maintaining this image, please reopen! ❤️ |
Added EventStore for official docker image.
The image is Open Source.
Checklist for Review
NOTE: This checklist is intended for the use of the Official Images maintainers both to track the status of your PR and to help inform you and others of where we're at. As such, please leave the "checking" of items to the repository maintainers. If there is a point below for which you would like to provide additional information or note completion, please do so by commenting on the PR. Thanks! (and thanks for staying patient with us ❤️)
foobar
needs Node.js, hasFROM node:...
instead of grabbingnode
via other means been considered?)ifFROM scratch
, tarballs only exist in a single commit within the associated history?