Sign inSign up

m986883511/ubuntu

By m986883511

Updated over 4 years ago

Image
0

550

m986883511/ubuntu repository overview

ubuntu-20.04.Dockerfile

FROM ubuntu:20.04
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse" > /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt update
# docker build -t m986883511/ubuntu:20.04 -f ubuntu-20.04.Dockerfile .

ubuntu-base.Dockerfile

FROM m986883511/ubuntu:20.04
RUN apt install wget file curl vim procps lsof -y
# docker build -t m986883511/ubuntu:base -f ubuntu-base.Dockerfile .

ubuntu-python3.Dockerfile

FROM m986883511/ubuntu:base
RUN apt install python3 python3-pip -y
# docker build -t m986883511/ubuntu:python3 -f ubuntu-python3.Dockerfile .

ubuntu-sshd.Dockerfile

FROM m986883511/ubuntu:base
RUN apt install openssh-server -y
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config \
    && echo "X11Forwarding yes" >> /etc/ssh/sshd_config \
    && echo "X11UseLocalhost no" >> /etc/ssh/sshd_config \
    && mkdir /var/run/sshd
RUN echo 'root:root' | chpasswd
CMD ["/usr/sbin/sshd", "-D"]
# docker build -t m986883511/ubuntu:sshd -f ubuntu-sshd.Dockerfile .

ubuntu-picovoice.Dockerfile

FROM m986883511/ubuntu:python3
ENV DEBIAN_FRONTEND=noninteractive
ENV UDP_PORT=20020
ENV AUDIO_DEVICE_INDEX=0
RUN apt install alsa-base alsa-utils libasound-dev libportaudio2 libportaudiocpp0 portaudio19-dev usbutils -y
RUN pip3 install numpy picovoice pvrecorder -i https://pypi.tuna.tsinghua.edu.cn/simple/
# docker build -t m986883511/ubuntu:picovoice -f ubuntu-picovoice.Dockerfile .

pyqt5-dockerfile

FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LIBGL_ALWAYS_INDIRECT=1
EXPOSE 22
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse" > /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >> /etc/apt/sources.list \
    && echo "deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt update
RUN apt install wget file curl vim procps python3 python3-pip python3-pyqt5 openssh-server -y
RUN echo 'root:root' | chpasswd
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config \
    && echo "X11Forwarding yes" >> /etc/ssh/sshd_config \
    && echo "X11UseLocalhost no" >> /etc/ssh/sshd_config \
    && mkdir /var/run/sshd
CMD ["/usr/sbin/sshd", "-D"]

Tag summary

Content type

Image

Digest

Size

317.4 MB

Last updated

over 4 years ago

docker pull m986883511/ubuntu:audio