repair satisfactory can not shutdown
This commit is contained in:
parent
2a27d12c1c
commit
75cacfd70a
@ -10,7 +10,7 @@ RUN sed -i 's/main/main contrib non-free non-free-firmware/g' /etc/apt/sources.l
|
||||
echo steam steam/question select "I AGREE" | debconf-set-selections && \
|
||||
echo steam steam/license note '' | debconf-set-selections && \
|
||||
dpkg --add-architecture i386 && \
|
||||
apt-get update --yes && apt-get install --yes steamcmd ca-certificates sudo && \
|
||||
apt-get update --yes && apt-get install --yes steamcmd ca-certificates gosu && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* && \
|
||||
# Create user
|
||||
useradd --no-log-init --create-home --shell /bin/bash --uid "${UID}" --no-user-group "${USER}" && \
|
||||
|
2
retag.sh
2
retag.sh
@ -2,6 +2,8 @@
|
||||
# 定义旧镜像名称的前缀和新的命名规则
|
||||
OLD_PREFIX="eoelab.org:1027/eoeair"
|
||||
NEW_PREFIX="ghcr.io/eoeair"
|
||||
# 删除不必要的镜像<none>
|
||||
docker image prune -f
|
||||
# 获取所有与旧前缀匹配的镜像,并进行重命名
|
||||
docker images --format "{{.Repository}}:{{.Tag}}" | grep "$OLD_PREFIX" | while read OLD_IMAGE; do
|
||||
NEW_IMAGE=${OLD_IMAGE/$OLD_PREFIX/$NEW_PREFIX}
|
||||
|
Loading…
x
Reference in New Issue
Block a user