Build a docker image with Dockerfile
$ cat Dockerfile FROM ubuntu:20.04 MAINTAINER JACK<jack@cool-pi.com> #RUN sed -i s@/ports.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \ && apt-get clean RUN apt-get update ENV DEBIAN_FRONTEND=noninteractive RUN apt-get install -y build-essential chrpath vim expect git curl dialog tzdata locales iputils-ping net-tools ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN locale-gen en_US.UTF-8 && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales ENV LANG=en_US.UTF-8 ENV LANGUAGE=en_US.UTF-8 ENV LC_ALL=en_US.UTF-8 RUN locale-gen en_US RUN useradd coolpi;\ adduser coolpi sudo;\ mkdir -p /home/coolpi;\ chown coolpi:coolpi -R /home/coolpi;\ echo coolpi:coolpi | chpasswd; #CMD su -l coolpi #CMD "/bin/bash" $ docker build -t my-ubuntu:20.04 --rm=true . ...Topics created by 大法师
-
TF卡镜像Wifi预配置
Ubuntu • • 大法师 -
Debian11 桌面编译内核
Ubuntu • • 大法师 -
Unixbench测试
Ubuntu • • 大法师 -
Pi板SPI外设调试
Peripheral • • 大法师 -
Pi板DSI配件测试
Peripheral • • 大法师 -
Ubuntu docker使用
Ubuntu • • 大法师 -
Ubuntu系统蓝牙应用
Ubuntu • • 大法师 -
Debian 11 系统预览
Ubuntu • • 大法师