-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (41 loc) · 1.14 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM ubuntu:trusty
MAINTAINER [email protected]
RUN apt-get update && \
apt-get install -y \
bc \
bin86 \
build-essential \
gdb \
lib32bz2-1.0 \
lib32ncurses5 \
lib32stdc++6 \
lib32z1 \
libc6-dev-i386 \
libc6-i386 \
make \
python3 \
python3-pip \
qemu \
qemu-kvm \
qemu-system-arm \
tar \
tcsh \
wget && \
sudo apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
pip3 install pyserial
RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64.deb && \
dpkg -i dumb-init_*.deb
RUN wget --no-check-certificate -O ia32.tar.gz https://epos.lisha.ufsc.br/dl87 && \
tar -zxvf ia32.tar.gz && \
mkdir -p /usr/local/ia32/ && \
mv gcc-4.4.4 /usr/local/ia32/ && \
rm ia32.tar.gz
RUN wget --no-check-certificate -O arm.tar.gz http://epos.lisha.ufsc.br/dl88 && \
tar -zxvf arm.tar.gz && \
mkdir -p /usr/local/arm/ && \
mv gcc-4.4.4 /usr/local/arm/ && \
rm arm.tar.gz
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
VOLUME /code
WORKDIR /code