Skip to content

Commit 0ba9f5d

Browse files
fix: recreate temporary apt source list file
1 parent 6ce606e commit 0ba9f5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/git_debug_image.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ROOT_DIR="$(realpath $SCRIPT_DIR/..)"
2626
BRANCH_NAME="$1" # git branch name
2727

2828
# Install components in the docker images
29+
echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main universe" > /etc/apt/sources.list
2930
apt update
3031
apt install -y git vim emacs-nox
3132

@@ -73,4 +74,4 @@ done
7374
chown -R user:user /home/user/rs-server
7475

7576
# Clean everything
76-
rm -rf /tmp/whl /root/.cache/pip /var/cache/apt/archives /var/lib/apt/lists/*
77+
rm -rf /tmp/whl /root/.cache/pip /var/cache/apt/archives /var/lib/apt/lists/* /etc/apt/sources.list

0 commit comments

Comments
 (0)