fix: missing setup for /etc/modules

This commit is contained in:
Anna Dostoevskaya 2024-11-04 05:00:31 +05:00 committed by baiywt
parent 27ea6ece3d
commit ec34ec8d79
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ RUN git config --system --add safe.directory /root/orangepi
RUN sed -i 's/\(^STATDOPTS=\).*/\1"--port 32765 --outgoing-port 32766"/' /etc/default/nfs-common \
&& sed -i 's/\(^RPCMOUNTDOPTS=\).*/\1"--port 32767"/' /etc/default/nfs-kernel-server
RUN echo 'loop max_loop=128' >> /etc/modules
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' TERM=screen
WORKDIR /root/orangepi
LABEL org.opencontainers.image.source="https://github.com/orangepi-xunlong/orangepi-build/blob/main/external/config/templates/Dockerfile" \