Debian Codegraph @

tools/zbloat/Dockerfile

raw
1 # To run the image and mount the current directory:
2 # docker run --rm -it -v `pwd`:/filament -t zbloat
3
4 # Then, inside the container:
5 # ./tools/zbloat/zbloat.py my_favorite_app.apk
6 #
7 # To make this easier, see zbloat.sh
8
9 FROM ubuntu:focal
10 ARG DEBIAN_FRONTEND=noninteractive
11
12 WORKDIR filament
13
14 RUN apt-get update && \
15 apt-get --no-install-recommends install -y \
16 apt-transport-https \
17 apt-utils \
18 build-essential \
19 python \
20 python3 \
21 curl \
22 gnupg2
23
24 RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
25 apt-get install -y nodejs
26
27 RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
28 echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
29 apt-get update && \
30 apt-get install -y yarn
31
32 RUN yarn global add webtreemap typescript