aboutsummaryrefslogblamecommitdiff
path: root/docker/Dockerfile
blob: 7a41480aaf8db32ed76f51052fd9f4315daf7331 (plain) (tree)
1
2
3
4
5
6
7
8
                                    
                  


                                    


                                    






                                    
                                    


                                                                   

                
# Copyright (c) 2020 Johannes Stoelp
FROM ubuntu:latest

RUN apt update                     \
 && DEBIAN_FRONTEND=noninteractive \
    apt install                    \
      --yes                        \
      --no-install-recommends      \
      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