2017-11-16 08:12:46 +00:00
|
|
|
FROM debian:jessie
|
|
|
|
|
2017-11-16 12:26:17 +00:00
|
|
|
LABEL maintainer="thomas.klaehn@u-blox.com"
|
2017-11-16 08:12:46 +00:00
|
|
|
|
2017-12-06 16:06:59 +00:00
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -yq build-essential git \
|
|
|
|
python python3 man bash diffstat gawk chrpath wget cpio texinfo lzop \
|
|
|
|
apt-utils bc screen libncurses5-dev locales libc6-dev-i386 doxygen \
|
|
|
|
libssl-dev dos2unix unzip gcc-multilib socat python3-pip \
|
|
|
|
python3-pexpect xz-utils debianutils iputils-ping libsdl1.2-dev \
|
|
|
|
p7zip-full vim sssd libnss-sss libpam-sss && \
|
2017-11-16 08:12:46 +00:00
|
|
|
rm -rf /var/lib/apt-lists/* && \
|
|
|
|
echo "dash dash/sh boolean false" | debconf-set-selections && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash && \
|
|
|
|
dpkg --add-architecture i386 && \
|
2017-12-06 16:06:59 +00:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -yq install g++-multilib \
|
2018-08-03 09:59:44 +00:00
|
|
|
libusb-1.0-0-dev:i386 libxml2:i386 jq
|
2017-12-06 16:06:59 +00:00
|
|
|
|
|
|
|
#RUN echo " IdentiyFile /.ssh/id_rsa" >> /etc/ssh/ssh_config
|
|
|
|
RUN echo -e "auth required pam_sss.so\naccount required pam_sss.so\npassword required pam_sss.so\nsession required pam_sss.so" > /etc/pam.d/sss_test
|
2017-11-16 08:12:46 +00:00
|
|
|
|
|
|
|
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
|
|
|
|
|
|
|
|
ENV LANG en_US.utf8
|
|
|
|
|
|
|
|
ADD init.sh /usr/local/bin/init.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/init.sh"]
|