print machine info.

This commit is contained in:
licsber 2024-03-09 16:55:55 +08:00
parent 309164ab44
commit fe9ba9544e

View File

@ -1,17 +1,18 @@
FROM docker.io/debian:12
LABEL org.opencontainers.image.authors="licsber<admin@licsber.site>"
RUN echo `nproc` && \
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 \
qemu-utils screenfetch neofetch \
> /dev/null && \
apt clean > /dev/null && \
rm -rf /var/lib/apt/list/*
rm -rf /var/lib/apt/list/* && \
screenfetch && neofetch
RUN useradd -c 'licsber user' -m -d /home/licsber -s /bin/bash licsber
RUN usermod -aG sudo licsber