add tree for log.

This commit is contained in:
licsber 2024-03-12 22:52:28 +08:00
parent 82bc25b072
commit 50a3f45362
3 changed files with 16 additions and 7 deletions

View File

@ -20,4 +20,6 @@ ENV GOPROXY='https://goproxy.io,direct'
RUN if [ `nproc` -le 4 ]; then make -j3 || make V=s; else make -j `nproc` || make V=s; fi && \ RUN if [ `nproc` -le 4 ]; then make -j3 || make V=s; else make -j `nproc` || make V=s; fi && \
echo $? echo $?
RUN tree bin
CMD ["echo 'Hello from LicsberLab!~'"] CMD ["echo 'Hello from LicsberLab!~'"]

View File

@ -3,13 +3,16 @@ LABEL org.opencontainers.image.authors='licsber<admin@licsber.site>'
RUN lscpu && \ RUN lscpu && \
apt update > /dev/null && \ apt update > /dev/null && \
apt install -y -qq build-essential clang flex bison g++ gawk \ apt install -y -qq build-essential clang g++ gcc-multilib g++-multilib \
gcc-multilib g++-multilib gettext git \ git \
libncurses-dev libssl-dev python3-distutils \ python3-distutils \
libelf-dev python3-pyelftools \ libncurses-dev \
rsync unzip zlib1g-dev file wget \ libssl-dev \
qemu-utils screenfetch \ libelf-dev python3-pyelftools \
> /dev/null && \ qemu-utils \
screenfetch tree \
flex bison gawk gettext rsync unzip zlib1g-dev file wget \
> /dev/null && \
apt clean > /dev/null && \ apt clean > /dev/null && \
rm -rf /var/lib/apt/list/* && \ rm -rf /var/lib/apt/list/* && \
screenfetch screenfetch
@ -34,4 +37,6 @@ RUN cd lede && \
RUN cd lede && \ RUN cd lede && \
make -j3 || make V=s make -j3 || make V=s
RUN tree bin
CMD ["echo 'Hello from LicsberLab!~'"] CMD ["echo 'Hello from LicsberLab!~'"]

View File

@ -17,4 +17,6 @@ ENV GOPROXY='https://goproxy.io,direct'
RUN if [ `nproc` -le 4 ]; then make -j3 || make V=s; else make -j `nproc` || make V=s; fi && \ RUN if [ `nproc` -le 4 ]; then make -j3 || make V=s; else make -j `nproc` || make V=s; fi && \
echo $? echo $?
RUN tree bin
CMD ["echo 'Hello from LicsberLab!~'"] CMD ["echo 'Hello from LicsberLab!~'"]