提交 e36dbcff 编写于 作者: L LaraStuStu

Create Dockerfile

上级 367aece6
FROM ubuntu:xenial
# http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/
RUN export uid=1000 gid=1000 && \
mkdir -p /home/developer && \
echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \
echo "developer:x:${uid}:" >> /etc/group && \
mkdir -p /etc/sudoers.d && \
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \
chmod 0440 /etc/sudoers.d/developer && \
chown ${uid}:${gid} -R /home/developer
RUN \
apt-get update -qq && \
apt-get upgrade -qq -y && \
apt-get install -qq -y \
# requirements
git \
python3 \
python3-pip \
python3-matplotlib \
python3-pyqt5 \
# utilities
sudo
RUN pip3 install -v git+https://github.com/wkentaro/labelme.git
USER developer
ENV HOME /home/developer
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册