2016-06-30 08:48:53 +00:00
|
|
|
FROM ubuntu:15.04
|
|
|
|
|
|
|
|
# Install the following utilities (required by openembedded)
|
|
|
|
# http://www.openembedded.org/wiki/Getting_started#Ubuntu_.2F_Debian
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y \
|
|
|
|
build-essential \
|
|
|
|
chrpath \
|
|
|
|
cpio \
|
|
|
|
curl \
|
|
|
|
diffstat \
|
|
|
|
file \
|
|
|
|
gawk \
|
|
|
|
git-core \
|
|
|
|
libsdl1.2-dev \
|
|
|
|
python3 \
|
|
|
|
texinfo \
|
|
|
|
unzip \
|
|
|
|
wget \
|
|
|
|
xterm \
|
2016-06-30 15:54:17 +00:00
|
|
|
sudo \
|
2016-06-30 08:48:53 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2016-06-30 15:54:17 +00:00
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
|
|
|
|
ENV SOURCE_DIR /source
|
|
|
|
ENV DEST_DIR /dest
|
2016-07-08 04:04:23 +00:00
|
|
|
ENV SHARED_DOWNLOADS /yocto/shared-downloads
|
|
|
|
ENV SHARED_SSTATE /yocto/shared-sstate
|
2016-06-30 15:54:17 +00:00
|
|
|
|
|
|
|
COPY build.sh /
|
2016-07-05 15:13:55 +00:00
|
|
|
CMD bash -ex build.sh
|