Skip to content
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

Publish to official? #2

Open
loynoir opened this issue Mar 10, 2022 · 3 comments · May be fixed by docker-library/official-images#13850
Open

Publish to official? #2

loynoir opened this issue Mar 10, 2022 · 3 comments · May be fixed by docker-library/official-images#13850

Comments

@loynoir
Copy link

loynoir commented Mar 10, 2022

I guess it's something like

https://github.com/docker-library/official-images/tree/master/library

https://github.com/docker-library/official-images/blob/master/library/postfixadmin

@cmouse
Copy link
Contributor

cmouse commented Dec 19, 2022

Will have to look into this.

@cmouse cmouse linked a pull request Jan 10, 2023 that will close this issue
10 tasks
@grooverdan
Copy link

Hi, this is just a review from a fellow docker official image maintainer in the hope that when this gets to review its going to be easier and quicker to approve:

Per https://github.com/docker-library/official-images/blob/master/NEW-IMAGE-CHECKLIST.md

on https://github.com/docker-library/official-images/blob/master/README.md#review-guidelines

  • https://github.com/docker-library/official-images/blob/master/README.md#consistency while bash is there, if you remove tini it isn't. Existing practices use a docker-entrypoint.sh script to achieve this
  • as dovecot -F is essentially doing the same as tini may was well use that. It doesn't process SIGQUIT, but I think the SIGTERM which works fine.
  • "make-ssl-cert generate-default-snakeoil" would be generating the same certs for every container. Is this right? or should it be wrapped in an entrypoint and called to generate files somewhere in a volume.
  • keeping to a directory for 2.3 releases would make it easier to review, when a repo is update to a new release, old container images still exist. A buildarg of the container version and use that to pin the package version installed would be repeatable.
  • a single function per container might be useful, so a container can just run imap, maybe this is the CMD for the container as specified by the user and processed by the entrypoint.
  • DEBIAN_FRONTEND=noninteractive apt-get install ... for minimal scope.
  • container=docker - unsure why
  • LC_ALL=C unsure why. Thought build environment was clean with respect to this.

@cmouse
Copy link
Contributor

cmouse commented Dec 15, 2023

Hi! Thank you for the informal review, some comments for it:

  • License is applied to these Dockerfiles only, the license for the software is OSI compatible.
  • We can try add some simple tests
  • tini is used to ensure that we don't get zombies in certain situations.
  • make-ssl-cert: you should provide your own certs in any case. these are only to get dovecot running.
  • not sure what you mean with "keeping a directory for 2.3 releases".
  • single function per container: it is unlikely useful to run just imap as it requires stdin input then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants