File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ def _init_dir(self):
3838 return
3939 if self .sandbox :
4040 os .chmod ("/dev/shm" , 0o707 )
41+ os .chmod ("/dev/mqueue" , 0o707 )
4142 if CONFIG .get ("SANDBOX_TMP_DIR_ENABLED" , '0' ) == "1" :
4243 tmp_dir_path = os .path .join (self .sandbox_path , 'tmp' )
4344 os .makedirs (tmp_dir_path , 0o700 , exist_ok = True )
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
3030 chmod g-xr /usr/local/bin/* /usr/bin/* /bin/* /usr/sbin/* /sbin/* /usr/lib/postgresql/17/bin/* && \
3131 chmod g+xr /usr/bin/ld.so && \
3232 chmod g+x /usr/local/bin/python* && \
33- chmod -R g-rwx /tmp /var/tmp /dev/mqueue / var/lock /var/lib/postgresql && \
33+ chmod -R g-rwx /tmp /var/tmp /var/lock && \
3434 apt-get clean all && \
35- rm -rf /var/lib/apt/lists/* /usr/share/doc/* /usr/share/man/* /usr/share/info/* /usr/share/locale/* /usr/share/lintian/* /usr/share/linda/* /var/cache/* /var/log/* /var/tmp/* /tmp/*
35+ rm -rf /var/lib/postgresql /var/lib/ apt/lists/* /usr/share/doc/* /usr/share/man/* /usr/share/info/* /usr/share/locale/* /usr/share/lintian/* /usr/share/linda/* /var/cache/* /var/log/* /var/tmp/* /tmp/*
3636COPY --from=vector-model --chmod=700 /opt/maxkb-app/model /opt/maxkb-app/model
3737
3838ENV PATH=/opt/py3/bin:$PATH \
You can’t perform that action at this time.
0 commit comments