-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (40 loc) · 1.19 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
FROM microros/micro-ros-agent
RUN dpkg --add-architecture i386 && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update; \
apt-get install -y \
sudo \
ssh \
cmake \
gcc-multilib \
git \
g++ \
gcovr \
ninja-build \
unifdef \
libpcap-dev:i386 \
libcmocka-dev:i386 \
ethtool \
python3-pip \
iproute2 \
dnsmasq \
isc-dhcp-server \
iptables \
net-tools \
tofrodos \
cgdb \
dos2unix \
gawk && \
apt-get install -y \
git build-essential gcc-arm-none-eabi python3-pip cmake ninja-build \
libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib g++-multilib \
gcc-multilib binutils-arm-none-eabi && \
pip3 install git+https://github.com/gcovr/gcovr.git@4.1 cmake && \
pip3 install catkin_pkg lark-parser empy colcon-common-extensions && \
rm -rf /var/lib/apt/lists/*
COPY ./scripts/init_vm_network.sh /
COPY ./config/dhcpd.conf /etc/dhcp/dhcpd.conf
COPY ./config/isc-dhcp-server /etc/default/isc-dhcp-server
COPY ./config/.gdbinit /root/
RUN chmod +x /init_vm_network.sh
ENTRYPOINT ["/bin/bash"]