File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:latest
2
2
3
+ SHELL ["/bin/bash" , "-xec" ]
4
+
3
5
RUN set -ex; \
4
6
export DEBIAN_FRONTEND=noninteractive; \
5
- echo "deb [arch=amd64 signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list;\
6
- curl -sSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg; \
7
7
apt-get update -y; \
8
8
apt-get install -y --no-install-recommends --fix-missing \
9
+ curl \
9
10
bash-completion \
10
11
python3-pip \
11
- cmake gcc g++ ninja-build git clang-format \
12
- gh \
13
- ; \
12
+ cmake gcc g++ ninja-build git clang-format; \
13
+ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list; \
14
+ curl -sSL https://cli.github.com/packages/githubcli-archive-keyring.gpg > /usr/share/keyrings/githubcli-archive-keyring.gpg; \
15
+ apt-get update -y; \
16
+ apt-get install -y --no-install-recommends --fix-missing gh; \
14
17
rm -rf /var/lib/apt/lists/*
15
18
16
19
RUN pip install lit
17
20
18
- SHELL ["/bin/bash" , "-xec" ]
21
+ RUN useradd -m dev
22
+
23
+ USER dev
24
+ WORKDIR /home/dev
You can’t perform that action at this time.
0 commit comments