aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
blob: 74c36d38e4dca80ea808736a144bd81bc46f0d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (c) 2020 Johannes Stoelp
FROM ubuntu:20.04

RUN apt update                     \
 && DEBIAN_FRONTEND=noninteractive \
    apt install -y                 \
      make                         \
      gcc                          \
      g++                          \
      gcc-aarch64-linux-gnu        \
      g++-aarch64-linux-gnu        \
      gdb-multiarch                \
      qemu-user                    \
 && rm -rf /var/lib/apt/lists/*    \
 && apt-get clean                  \
 # Remove expensive qemu emulators which are currently not used.
 && rm -f $(find /usr/bin -name 'qemu-*' | grep -v 'qemu-aarch64$')

WORKDIR /develop