So, no compile when installing perl5-28 on a Pi3b. No perl at all in the
host.
Default container command is "perl -d0" but "perl foo" or "sh" work fine
if you specify them.
/etc is not totally empty, but there is no init system, as far as I can
see
Code:
--------------------
# docker pull perl:5.28-slim
...
Digest:
sha256:147ea20d8127ea8efb7d8b90923f433363368eadd73da6cd78cb2cf913a665c7
Status: Downloaded newer image for perl:5.28-slim
# perl -V
sh: perl: not found
# docker inspect perl:5.28-slim | grep -E "CMD|ENTRYP"
"CMD [\"perl5.28.2\" \"-de0\"]"
# docker run perl:5.28-slim perl -V
Summary of my perl5 (revision 5 version 28 subversion 2) configuration:
Platform:
osname=linux
osvers=4.15.0-62-generic
archname=arm-linux-gnueabihf-64int
uname='linux b575f67d2bb0 4.15.0-62-generic #69~16.04.1-ubuntu smp fri sep 6
02:45:12 utc 2019 armv8l gnulinux '
config_args='-Darchname=arm-linux-gnueabihf -Duse64bitint -Duseshrplib
-Dvendorprefix=/usr/local -des'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=undef
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2'
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include'
ccversion=''
gccversion='8.3.0'
gccosandvers=''
intsize=4
longsize=4
ptrsize=4
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=8
longdblkind=0
ivtype='long long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed
/usr/include/arm-linux-gnueabihf /usr/lib /lib/arm-linux-gnueabihf /lib
/usr/lib/arm-linux-gnueabihf
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.28.so
so=so
useshrplib=true
libperl=libperl.so
gnulibc_version='2.28'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E
-Wl,-rpath,/usr/local/lib/perl5/5.28.2/arm-linux-gnueabihf-64int/CORE'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at Mar 17 2020 18:32:23
@INC:
/usr/local/lib/perl5/site_perl/5.28.2/arm-linux-gnueabihf-64int
/usr/local/lib/perl5/site_perl/5.28.2
/usr/local/lib/perl5/vendor_perl/5.28.2/arm-linux-gnueabihf-64int
/usr/local/lib/perl5/vendor_perl/5.28.2
/usr/local/lib/perl5/5.28.2/arm-linux-gnueabihf-64int
/usr/local/lib/perl5/5.28.2
# docker run -it perl:5.28-slim bash
root@cb65c3b4883f:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@cb65c3b4883f:/# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System
(admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
_apt:x:100:65534::/nonexistent:/usr/sbin/nologin
root@cb65c3b4883f:/# which make cc gcc autoconf
/usr/bin/make
--------------------
2 SB 3 1 PCP 6 Libratone Loop, Zipp, Zipp Mini iPeng (iPhone +
iPad) LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC
iPlayer by bpa IRBlaster by Gwendesign (Felix) Smart Mix, Music Walk
With Me, What Was That Tune? by Michael Herger PowerSave by Jason
Holtzapple Song Info, Song Lyrics by Erland Isaksson AirPlay Bridge
by philippe_44 WeatherTime by Martin Rehfeld Auto Dim Display,
SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=111828
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix