-
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 eggdrop to official-images #1916
Conversation
Hey, sorry for the delay! A few comments so far: (and I'm happy to turn any of this into a PR instead if you'd rather or if that'd make it more clear what I mean!)
I think this is a really great start, and again, happy to turn any of this into a PR if that'd be helpful. 😄 👍 |
Thanks for the great ideas. Here's what I've done:
Addressed in eggheads/eggdrop-docker@90ebb77 . Attempted to consolidate build/remove to one step. Didn't trim much space, but was successful in converting to alpine in eggheads/eggdrop-docker@c0cadfa! Any suggestions on that to further trim down the space?
Addressed in eggheads/eggdrop-docker@3309626
Addressed in eggheads/eggdrop-docker@46272ab
You're right. And I don't have a good answer. Can you expound a little more on your proposed solution? Alternatively, is there a way I can still write to stdout even if the process is started with -d ? Thank you for the helpful tips! I am updating the tags for 1.6 (which you looked at) now. I'll follow-up with the 1.8 branch tomorrow. And then probably bug you again on status over the weekend :) |
@vanosg TimWolla here. We talked in IRC about 18 hours ago :-) I just added some comments to your commits that should explain how to reduce the image size properly! |
Ok, I am making a few minor fixes and suggestions to the Dockerfile (soon to be a PR). When I run the container, it is unable to connect to an irc network with I think their are three possible solutions:
I could add any of these in the PR I am working on, just let me know what you think is best for your image. |
yosifkit, that’s some impressive detective work! Let me go over this with my team- coredns.c is part of an ‘optional’ (but really, semi-important) module that allows async DNS requests to go out, so that the code isn’t blocking while waiting for a DNS reply with standard DNS lookups. The “easy” fix would be to not load the DNS module by default, but then the user would have a less-than-ideal experience. Your suggestions are all great as well- let us chat on this a bit and I’ll get back to you shortly. Thanks for the feedback! If there is any work I can do on this side to save you effort on your PR, don’t hesitate to let us know. Thanks! |
The Dockerfiles look pretty good to me. There is a minor issue of the (left a comment over on the docs too) I give it my LGTM, Build test of #1916; 10d9602 ( $ bashbrew build eggdrop:1.6.21
Using bashbrew/cache:551e74f64bd7d147b187408e85a67c7da6a39c851bd9ee8a086e6c94149fc4a2 (eggdrop:1.6.21)
Tagging eggdrop:1.6.21
Tagging eggdrop:1.6
Tagging eggdrop:stable
Tagging eggdrop:latest
$ test/run.sh eggdrop:1.6.21
testing eggdrop:1.6.21
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build eggdrop:1.8.0
Using bashbrew/cache:c14e958e2a61105b208817451b6b5b439309c210fcc9c95ba8bd91132856957c (eggdrop:1.8.0)
Tagging eggdrop:1.8.0
Tagging eggdrop:1.8
Tagging eggdrop:develop
$ test/run.sh eggdrop:1.8.0
testing eggdrop:1.8.0
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
cc @tianon for second "dockerization review" |
LGTM |
Fixed the rm issue- this is why making changes after midnight after a 12 hour day is a bad idea... sigh. You guys are the best, thanks so much for catching all these silly errors! |
Thanks @vanosg! Can I get a bump to the commit id here for 1.8? |
Directory: 1.6 | ||
|
||
Tags: 1.8.0, 1.8, develop | ||
GitRepo: GitRepo: https://github.com/eggheads/eggdrop-docker.git |
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.
There is an extra GitRepo:
here. 😄 Since they are the same git repo, you could just put it once at the top of the file with Maintainers
and it will apply to both tag lists.
$ docker images eggdrop
REPOSITORY TAG IMAGE ID CREATED SIZE
eggdrop 1.8 47cb412364d9 13 minutes ago 21.13 MB
eggdrop 1.8.0 47cb412364d9 13 minutes ago 21.13 MB
eggdrop develop 47cb412364d9 13 minutes ago 21.13 MB
eggdrop 1.6 6e31a5a53ea9 4 days ago 16.84 MB
eggdrop 1.6.21 6e31a5a53ea9 4 days ago 16.84 MB
eggdrop latest 6e31a5a53ea9 4 days ago 16.84 MB
eggdrop stable 6e31a5a53ea9 4 days ago 16.84 MB Everything else is in order, but Docker has asked us to not push any images today, so this will have to wait until tomorrow morning to be merged and built for the hub (I can just fix the extra |
LGTM, Build test of #1916; ed10194 ( $ bashbrew build eggdrop:1.6.21
Using bashbrew/cache:3b933f6e2c6179a48276fff7f1ff37e00ba3aba7408df4485ebd9975839065d7 (eggdrop:1.6.21)
Tagging eggdrop:1.6.21
Tagging eggdrop:1.6
Tagging eggdrop:stable
Tagging eggdrop:latest
$ test/run.sh eggdrop:1.6.21
testing eggdrop:1.6.21
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
$ bashbrew build eggdrop:1.8.0
Using bashbrew/cache:9b042c3a4a78da537b4f88f4e0f10f54c761babe136cd388f3f57aa066a81831 (eggdrop:1.8.0)
Tagging eggdrop:1.8.0
Tagging eggdrop:1.8
Tagging eggdrop:develop
$ test/run.sh eggdrop:1.8.0
testing eggdrop:1.8.0
'utc' [1/4]...passed
'cve-2014--shellshock' [2/4]...passed
'no-hard-coded-passwords' [3/4]...passed
'override-cmd' [4/4]...passed
|
Checklist for Review
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?