Yocto build container: initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
This commit is contained in:
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
FROM debian:jessie
|
||||
|
||||
MAINTAINER Thomas Klaehn <thomas.klaehn@u-blox.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -yq sudo 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 \
|
||||
xterm p7zip-full && \
|
||||
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 && \
|
||||
apt-get update && \
|
||||
apt-get -yq install g++-multilib libusb-1.0-0-dev:i386
|
||||
|
||||
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
|
||||
|
||||
ENV LANG en_US.utf8
|
||||
|
||||
RUN mkdir -p /var/build
|
||||
|
||||
WORKDIR /var/build
|
||||
|
||||
ADD init.sh /usr/local/bin/init.sh
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/init.sh"]
|
||||
|
Reference in New Issue
Block a user