forked from gmacario/easy-build
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
34 lines (26 loc) · 1014 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ===========================================================================================
# Dockerfile for building a Yocto-based distro for Freescale/ARM
# (example: i.MX6Q SABRE, Wandboard, etc.)
#
# References:
# http://elinux.org/Getting_started_with_Yocto_on_Wandboard
# ===========================================================================================
FROM gmacario/build-yocto
MAINTAINER Gianpaolo Macario, [email protected]
# Install the following utilities (required later)
RUN apt-get install -y curl
# Install "repo" tool
RUN curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo
RUN chmod a+x /usr/local/bin/repo
# Clone fsl-community-bsp-platform
RUN mkdir -p /opt/yocto
RUN cd /opt/yocto \
&& mkdir -p fsl-community-bsp \
&& cd fsl-community-bsp \
&& repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b daisy \
&& repo sync
# Define container entry point
ENTRYPOINT ["/bin/bash"]
# Expose sshd port
EXPOSE 22
# EOF