mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Installations in containers have no access to remote access (#4595)
This commit is contained in:
parent
9ddbe2eadf
commit
93080400df
@ -9,7 +9,7 @@ COPY requirements.txt /tmp/requirements.txt
|
||||
|
||||
# Initial download of UiAutomator2 is slow outside of China using appetizer mirror, switch to GitHub
|
||||
RUN apt update \
|
||||
&& apt install -y git adb libgomp1 \
|
||||
&& apt install -y git adb libgomp1 openssh-client \
|
||||
&& git config --global --add safe.directory '*' \
|
||||
&& pip install -r /tmp/requirements.txt \
|
||||
&& rm /tmp/requirements.txt \
|
||||
|
||||
@ -19,7 +19,7 @@ deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib\
|
||||
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib" \
|
||||
> /etc/apt/sources.list \
|
||||
&& apt update \
|
||||
&& apt install -y git adb libgomp1 \
|
||||
&& apt install -y git adb libgomp1 openssh-client \
|
||||
&& git config --global --add safe.directory '*' \
|
||||
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& echo 'Asia/Shanghai' > /etc/timezone \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user