mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
print machine info.
This commit is contained in:
parent
309164ab44
commit
fe9ba9544e
7
openwrt/lede/env/Dockerfile.openwrt-lede-env
vendored
7
openwrt/lede/env/Dockerfile.openwrt-lede-env
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user