[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-41582 Change official docker image to not use alpine Change By: James Dumay Sprint: pannonian , iapetus Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title Michael Neale closed an issue as Won't Fix apk update && apk add nodejs apk update && apk add docker can do the job if people really want to run builds from master (vs encouraging the bad practice). Jenkins / JENKINS-41582 Change official docker image to not use alpine Change By: Michael Neale Status: In Progress Closed Resolution: Won't Fix Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title Michael Neale started work on JENKINS-41582 Change By: Michael Neale Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title Michael Neale commented on JENKINS-41582 Re: Change official docker image to not use alpine I think what I prefer is: https://github.com/jenkinsci/blueocean-plugin/pull/815 which whilst it doesn't include the kitchen sink of dev tools, people have the option to add them in pretty easily as needed (so image size does not blow out for those who use distributed builds and slaves). Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title R. Tyler Croy commented on JENKINS-41582 Re: Change official docker image to not use alpine I'm not sure I'm understanding what you're asking Michael Neale. I believe there is a fundamental misunderstanding of how our docker images are working here. Regardless of whether something is alpine or Debian-based, they both provide plenty of developer tools through their respective package managers. HOWEVER, the Jenkins Docker image drops the root permission, a standard best practice for distributed images such as ours (USER jenkins in the Dockerfile), which means that the jenkins user does not have root permissions. That means regardless of what base image we start with, the jenkins user would not be able to install additional packages unless it was run in a non-standard way as root. Perhaps a better solution would be to fix up this pull request and suggest that people mount their /var/run/docker.sock so the blueocean'd Jenkins master would have access to a functional Docker daemon? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title Michael Neale commented on JENKINS-41582 Re: Change official docker image to not use alpine R. Tyler Croy So you mean that people use docker pipeline (or declarative) always instead of building direct? Would this work with a bind mount like that? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title Michael Neale commented on JENKINS-41582 Re: Change official docker image to not use alpine The Debian based one could have them installed at least - with alpine it seems it is near impossible. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-41582 Change official docker image to not use alpine Change By: James Dumay Sprint: pannonian , iapetus Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title James Dumay assigned an issue to Michael Neale Michael Neale can you please follow up with Tyler on this one? Not 100% across the context Jenkins / JENKINS-41582 Change official docker image to not use alpine Change By: James Dumay Assignee: R. Tyler Croy Michael Neale Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-41582 Change official docker image to not use alpine Change By: James Dumay Sprint: pannonian Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title R. Tyler Croy commented on JENKINS-41582 Re: Change official docker image to not use alpine I'm not sure I understand the problem here. The Debian-based jenkins image base doesn't have GCC or any other tools either. ➜ ~ docker run -ti --rm jenkins bash jenkins@a399055c307d:/$ which gcc jenkins@a399055c307d:/$ which make jenkins@a399055c307d:/$ which autoconf jenkins@a399055c307d:/$ Any master-based executors that are attempted to use for anything other than execute maybe java are going to fail. Perhaps we could recommend users that they bind-mount the /var/run/docker.sock and then disable executors on the master and configure some Dockery bits in the master? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41582) Change official docker image to not use alpine
Title: Message Title Michael Neale created an issue Jenkins / JENKINS-41582 Change official docker image to not use alpine Issue Type: Story Assignee: R. Tyler Croy Components: blueocean-plugin Created: 2017/Jan/31 12:56 AM Priority: Major Reporter: Michael Neale I have had some requests to not use the alpine official image base: https://github.com/jenkinsci/blueocean-plugin/blob/master/docker/official/Dockerfile and instead use the standard one. The reason is lack of gcc and other tools that affect the first users experience of people doing things outside of the jvm: eg nodejs. It is common for people to pull the image, run it, make a pipeline doing something with nodejs, and it falls flat. There is a non trivial amount of work to retrofit tools so they work with alpine (mscl or whatever it uses). For 100M extra, shifting away from alpine is justified IMO. And we can blame docker anyway, no one will know. Thoughts? Add Comment