blob: b68e4551e20bf6269044cfd773cdd033f1e5999e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# This file describes the standard way to build an Ostro bitbake builder image
#
# Usage:
#
# docker build -t crops/ostro:builder -f Dockerfile.ostro ..
#
FROM crops/ostro:deps
MAINTAINER Todor Minchev <todor.minchev@linux.intel.com>
USER root
RUN mkdir -p /ostro/bin && \
mkdir -p /ostro/sample-conf && \
chmod -R a+rwx /ostro
COPY helpers/runbitbake.py /ostro/bin/runbitbake.py
COPY helpers/startOstroScript.sh /ostro/bin/startOstroScript.sh
COPY confs/ostro/ostro.conf /ostro/sample-conf/ostro.conf
RUN chmod +rx /ostro/bin/runbitbake.py && \
chmod +rx /ostro/bin/startOstroScript.sh && \
git clone https://github.com/ostroproject/ostro-os.git /ostro/ostro-os
ENTRYPOINT ["/ostro/bin/startOstroScript.sh"]
|