diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-09-29 20:52:43 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-09-29 20:52:43 +0200 |
commit | a77ec1a9e7b307915e485ae26296c8c7f98a321c (patch) | |
tree | 84f09b2fa988ffa89a940d0bda855146b4fa69f9 | |
parent | 7e2ed3a341ba5f522bc0498c1fcadd846273d079 (diff) | |
download | matcha-threads-a77ec1a9e7b307915e485ae26296c8c7f98a321c.tar.gz matcha-threads-a77ec1a9e7b307915e485ae26296c8c7f98a321c.zip |
reduce size of docker image
-rw-r--r-- | docker/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 0646e13..74c36d3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,7 +4,6 @@ FROM ubuntu:20.04 RUN apt update \ && DEBIAN_FRONTEND=noninteractive \ apt install -y \ - git \ make \ gcc \ g++ \ @@ -12,8 +11,9 @@ RUN apt update \ g++-aarch64-linux-gnu \ gdb-multiarch \ qemu-user \ - neovim \ && rm -rf /var/lib/apt/lists/* \ - && apt-get clean + && 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 |