Fix actions-runner-dind not to fail setting up MTU (#589)

Fixes #588
This commit is contained in:
Vladyslav Miletskyi 2021-06-04 02:54:46 +03:00 committed by GitHub
parent a72f190ef6
commit 30ab0c0b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ RUN apt update -y \
libunwind8 \ libunwind8 \
locales \ locales \
netcat \ netcat \
net-tools \
openssh-client \ openssh-client \
parallel \ parallel \
python3-pip \ python3-pip \

View File

@ -60,7 +60,7 @@ for process in "${processes[@]}"; do
done done
if [ -n "${MTU}" ]; then if [ -n "${MTU}" ]; then
ifconfig docker0 mtu ${MTU} up sudo ifconfig docker0 mtu ${MTU} up
fi fi
# Wait processes to be running # Wait processes to be running