Skip to content

Commit 6187964

Browse files
authored
Merge pull request #23223 from famod/ci-free-up-space
Remove more unused docker images to free up space for Early Access JDK Build
2 parents 755349c + 7645023 commit 6187964

File tree

1 file changed

+42
-4
lines changed

1 file changed

+42
-4
lines changed

.github/ci-prerequisites.sh

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,45 @@
1-
# Reclaim disk space, otherwise we only have 13 GB free at the start of a job
1+
# Reclaim disk space, otherwise we have too little free space at the start of a job
2+
#
3+
# Numbers as of 2022-01-26:
4+
#
5+
# $ df -h
6+
# Filesystem Size Used Avail Use% Mounted on
7+
# /dev/root 84G 52G 32G 63% /
8+
# devtmpfs 3.4G 0 3.4G 0% /dev
9+
# tmpfs 3.4G 4.0K 3.4G 1% /dev/shm
10+
# tmpfs 696M 1.1M 695M 1% /run
11+
# tmpfs 5.0M 0 5.0M 0% /run/lock
12+
# tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup
13+
# /dev/loop0 62M 62M 0 100% /snap/core20/1270
14+
# /dev/sda15 105M 5.2M 100M 5% /boot/efi
15+
# /dev/loop1 68M 68M 0 100% /snap/lxd/21835
16+
# /dev/loop2 44M 44M 0 100% /snap/snapd/14295
17+
# /dev/sdb1 14G 4.1G 9.0G 32% /mnt
18+
#
19+
# $ docker images
20+
# REPOSITORY TAG IMAGE ID CREATED SIZE
21+
# node 12-alpine 8a6e486e9817 2 weeks ago 91.1MB
22+
# node 16-alpine 23990429c0d7 2 weeks ago 109MB
23+
# node 12 44d575d74d9f 2 weeks ago 918MB
24+
# node 14 24d97ba03bf7 2 weeks ago 944MB
25+
# node 14-alpine 194cd0d85d8a 2 weeks ago 118MB
26+
# node 16 842962c4b3a7 2 weeks ago 905MB
27+
# ubuntu 20.04 d13c942271d6 2 weeks ago 72.8MB
28+
# ubuntu 18.04 886eca19e611 2 weeks ago 63.1MB
29+
# buildpack-deps stretch 46000751048f 5 weeks ago 835MB
30+
# buildpack-deps buster ac4279e940f3 5 weeks ago 804MB
31+
# buildpack-deps bullseye d724319bd076 5 weeks ago 834MB
32+
# debian 9 c599fc96ef79 5 weeks ago 101MB
33+
# debian 10 8a94f77c4ac3 5 weeks ago 114MB
34+
# debian 11 6f4986d78878 5 weeks ago 124MB
35+
# moby/buildkit latest 19340e24de14 2 months ago 144MB
36+
# alpine 3.12 b0925e081921 2 months ago 5.59MB
37+
# alpine 3.13 6b7b3256dabe 2 months ago 5.62MB
38+
# alpine 3.14 0a97eee8041e 2 months ago 5.6MB
39+
# ubuntu 16.04 b6f507652425 4 months ago 135MB
240

3-
time docker rmi node:10 node:12
4-
# That is 18 GB
41+
time docker rmi node:12 node:14 node:16 buildpack-deps:stretch buildpack-deps:buster buildpack-deps:bullseye
42+
# That is 4.07 GB
543
time sudo rm -rf /usr/share/dotnet
6-
# That is 1.2 GB
44+
# That is 1.78 GB
745
time sudo rm -rf /usr/share/swift

0 commit comments

Comments
 (0)