1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [EXTERNAL] Re: How to run IOC in docker containers properly |
From: | Ryan Slominski via Tech-talk <tech-talk at aps.anl.gov> |
To: | xiao zhang <zxinmyth at gmail.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 24 Jun 2020 14:00:10 +0000 |
I was able to drop the image size down to about 20MB by removing the source code after compiling (whoops).
docker images slominskir/softioc:1.0.1
REPOSITORY TAG IMAGE ID CREATED SIZE
slominskir/softioc 1.0.1 d8526a162221 16 minutes ago 20.2MB
Looks like busybox with musl would save a few MB over glibc busybox:
docker images busybox:musl
REPOSITORY TAG IMAGE ID CREATED SIZE
busybox musl 837140ee7fdf 3 weeks ago 1.47MBdocker images busybox:glibc
REPOSITORY TAG IMAGE ID CREATED SIZE
busybox glibc 7a2331af2292 3 weeks ago 5.2MB
Too bad EPICS appears to require glibc. Looks like backtrace is one of the missing pieces only found in glibc.
From: xiao zhang <zxinmyth at gmail.com>
Sent: Wednesday, June 24, 2020 1:12 AM To: Ryan Slominski <ryans at jlab.org> Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: [EXTERNAL] Re: How to run IOC in docker containers properly I wonder if any attempt to build EPICS Base against musl-libc instead of glibc has come to a good result. I have tried but no success.
If it is possible, it may lead to a even lighter container.
On Wed, 24 Jun 2020 at 06:10, Ryan Slominski via Tech-talk <tech-talk at aps.anl.gov> wrote:
|