| FROM ubuntu:bionic@sha256:ca70a834041dd1bf16cc38dfcd24f0888ec4fa431e09f3344f354cf8d1724499 |
| RUN apt update |
| RUN apt install -y git |
| RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git |
| ENV PATH="${PATH}:/depot_tools" |
| RUN apt update |
| RUN apt upgrade -y |
| RUN apt install curl -y |
| RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \ |
| && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \ |
| && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ |
| && apt update \ |
| && apt install gh -yi |