-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (25 loc) · 721 Bytes
/
Dockerfile
File metadata and controls
30 lines (25 loc) · 721 Bytes
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
FROM ubuntu:20.04
# Install necessary dependencies
RUN apt-get update && apt-get install -y \
mono-complete \
wget \
unzip \
libgtk2.0-0 \
libgdk-pixbuf2.0-0 \
libatk1.0-0 \
libpango1.0-0 \
libgdk-pixbuf2.0-common \
gcc-arm-none-eabi \
gdb-multiarch \
binutils-arm-none-eabi \
&& apt-get clean
# Set working directory
WORKDIR /opt
# Download and unzip ARMSim
RUN wget https://kyledewey.github.io/comp122-fall17/resources/installing_armsim/armsim_linux.zip -O armsim.zip \
&& unzip armsim.zip -d armsim \
&& rm armsim.zip
# Set the working directory to ARMSim
WORKDIR /opt/armsim
# Default command to run ARMSim
CMD ["mono", "/opt/armsim/armsim/ARMSim.exe"]