File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,9 @@ runs:
106106 commands=$(cat << "EOF"
107107 USER root
108108 COPY ./git_debug_image.sh ./git_debug_image.sh
109- RUN set -e; chmod u+x ./git_debug_image.sh; apt update && ./git_debug_image.sh ${{ inputs.branch_name }}; \
110- rm -f ./git_debug_image.sh ; layer-cleanup.sh
109+ RUN set -e; chmod u+x ./git_debug_image.sh; apt update; ./git_debug_image.sh ${{ inputs.branch_name }}; \
110+ rm -f ./git_debug_image.sh ; \
111+ layer-cleanup.sh
111112 WORKDIR /home/user/rs-server
112113 EOF
113114 )
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ ROOT_DIR="$(realpath $SCRIPT_DIR/..)"
2626BRANCH_NAME=" $1 " # git branch name
2727
2828# Install components in the docker images
29+ . /etc/os-release
30+ echo " deb http://deb.debian.org/debian $VERSION_CODENAME main" > /etc/apt/sources.list
2931apt update
3032apt install -y git vim emacs-nox
3133
7375chown -R user:user /home/user/rs-server
7476
7577# Clean everything
76- rm -rf /tmp/whl /root/.cache/pip /var/cache/apt/archives /var/lib/apt/lists/*
78+ rm -rf /tmp/whl /root/.cache/pip /var/cache/apt/archives /var/lib/apt/lists/* /etc/apt/sources.list
You can’t perform that action at this time.
0 commit comments