-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
28 lines (21 loc) · 903 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
FROM ubuntu
MAINTAINER Mark Olsson <[email protected]>
RUN apt-get update; \
apt-get -y upgrade; \
apt-get -y install build-essential git wget nano curl bzip2 libncurses5-dev python;
RUN mkdir -p /root/toolchains; \
cd /root/toolchains; \
wget https://github.com/insane-adding-machines/crosstool-ng/releases/download/v16.07.003/arm-frosted-eabi-5.3.0_16.07.003.tar.bz2; \
bzip2 -d arm-frosted-eabi-5.3.0_16.07.003.tar.bz2; \
tar xvf arm-frosted-eabi-5.3.0_16.07.003.tar;
ENV PATH /root/toolchains/arm-frosted-eabi/bin:$PATH
RUN mkdir -p /root/src; \
mkdir -p /root/build/frosted; \
cd /root/src; \
git clone https://github.com/insane-adding-machines/frosted.git /root/src/frosted; \
cd /root/src/frosted; \
git submodule init && git submodule update; \
cd /root/src/frosted/frosted-userland; \
git submodule init && git submodule update;
WORKDIR /root/build/frosted
CMD /bin/bash