travis: improve docker images generation for building
Make a build heriarchy to reduce images size. Add Android Thing Build. Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
3d77c86634
commit
4bedd68c4e
13
docker/Dockerfile.python
Normal file
13
docker/Dockerfile.python
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM mraa-base
|
||||
|
||||
# Update apt-get
|
||||
RUN apt-get -y update && \
|
||||
# Python 2 Build Dependencies
|
||||
apt-get -y --no-install-recommends install python python-dev \
|
||||
# Python 3 Build Dependencies
|
||||
python3 python3-dev
|
||||
|
||||
# Set Workdir
|
||||
WORKDIR $MRAA_SRC_DIR
|
||||
|
||||
CMD bash
|
||||
Reference in New Issue
Block a user