Skip to content

Commit f716423

Browse files
task: sort apt pkgs (#587)
* task: sort apt pkgs * fix: add missing pkgs to docker container
1 parent e41d001 commit f716423

File tree

3 files changed

+59
-48
lines changed

3 files changed

+59
-48
lines changed

.devcontainer/Dockerfile

+29-21
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,35 @@ WORKDIR /workspace
66

77
RUN export DEBIAN_FRONTEND=noninteractive
88
RUN apt-get update
9-
RUN apt-get install -y --no-install-recommends git \
10-
gh \
11-
less \
12-
python3 \
13-
python3.12-venv \
14-
python3-pip \
15-
build-essential \
16-
ruby \
17-
ruby-dev \
18-
bundler \
19-
nodejs \
20-
npm \
21-
ditaa \
22-
libyaml-dev \
23-
cmake \
24-
g++ \
25-
clang-format \
26-
clang-tidy \
27-
libelf-dev \
28-
gcc-riscv64-unknown-elf \
29-
shellcheck
9+
10+
# please keep pkgs sorted
11+
RUN apt-get install -y --no-install-recommends \
12+
build-essential \
13+
bundler \
14+
clang-format \
15+
clang-tidy \
16+
cmake \
17+
ditaa \
18+
g++ \
19+
gcc-riscv64-linux-gnu \
20+
gcc-riscv64-unknown-elf \
21+
gdb \
22+
gh \
23+
git \
24+
less \
25+
libc6-dev-riscv64-cross \
26+
libelf-dev \
27+
libgmp-dev \
28+
libyaml-dev \
29+
nodejs \
30+
npm \
31+
python3 \
32+
python3-pip \
33+
python3.12-venv \
34+
ruby \
35+
ruby-dev \
36+
shellcheck
37+
3038
RUN apt-get clean autoclean
3139
RUN apt-get autoremove -y
3240
RUN rm -rf /var/lib/{apt,dpkg,cache,log}/*

bin/.container-tag

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6
1+
0.7

container.def

+29-26
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,35 @@ From: ubuntu:24.04
1111

1212
apt-get update
1313

14-
apt-get install -y --no-install-recommends git \
15-
gh \
16-
less \
17-
python3 \
18-
python3.12-venv \
19-
python3-pip \
20-
build-essential \
21-
ruby \
22-
ruby-dev \
23-
libyaml-dev \
24-
bundler \
25-
nodejs \
26-
npm \
27-
ditaa \
28-
cmake \
29-
g++ \
30-
gdb \
31-
libgmp-dev \
32-
clang-format \
33-
clang-tidy \
34-
libelf-dev \
35-
gcc-riscv64-linux-gnu \
36-
gcc-riscv64-unknown-elf \
37-
libc6-dev-riscv64-cross \
38-
shellcheck
39-
# cleanup
14+
# please keep pkgs sorted
15+
apt-get install -y --no-install-recommends \
16+
build-essential \
17+
bundler \
18+
clang-format \
19+
clang-tidy \
20+
cmake \
21+
ditaa \
22+
g++ \
23+
gcc-riscv64-linux-gnu \
24+
gcc-riscv64-unknown-elf \
25+
gdb \
26+
gh \
27+
git \
28+
less \
29+
libc6-dev-riscv64-cross \
30+
libelf-dev \
31+
libgmp-dev \
32+
libyaml-dev \
33+
nodejs \
34+
npm \
35+
python3 \
36+
python3-pip \
37+
python3.12-venv \
38+
ruby \
39+
ruby-dev \
40+
shellcheck
41+
42+
# cleanup
4043
apt-get clean autoclean
4144
apt-get autoremove -y
4245
rm -rf /var/lib/{apt, dpkg, cache, log}

0 commit comments

Comments
 (0)