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 && \
echo $?
RUN tree bin
CMD ["echo 'Hello from LicsberLab!~'"]

View File

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