Skip to content

Commit c74cfeb

Browse files
Revert "deps: upgrade redis-server."
This reverts commit d3e7d81.
1 parent d3e7d81 commit c74cfeb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

installer/Dockerfile-base

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@ ARG DEPENDENCIES=" \
2020

2121
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
2222
echo "Asia/Shanghai" > /etc/timezone && \
23-
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list && \
24-
echo -e "Package: redis-server\nPin: release a=testing\nPin-Priority: 501" > /etc/apt/preferences.d/redis && \
2523
apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES && \
2624
chmod 755 /usr/bin/start-*.sh && \
2725
find /etc/ -type f ! -path '/etc/resolv.conf' ! -path '/etc/hosts' | xargs chmod g-rx && \
2826
curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh && \
29-
mkdir -p /opt/maxkb-app/sandbox/lib && \
27+
mkdir -p /opt/maxkb-app/sandbox && \
3028
useradd --no-create-home --home /opt/maxkb-app/sandbox sandbox -g root && \
31-
chown sandbox:root /opt/maxkb-app/sandbox && chmod 550 /opt/maxkb-app/sandbox && \
29+
chown -R sandbox:root /opt/maxkb-app/sandbox && chmod 550 /opt/maxkb-app/sandbox && \
3230
chmod g-xr /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
3331
chmod g+xr /usr/bin/ld.so && \
3432
chmod g+x /usr/local/bin/python* && \

0 commit comments

Comments
 (0)