This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:latest | |
| MAINTAINER x zx unix2xp@gmail.com | |
| RUN apt-get update && apt-get install --no-install-recommends -y -q wget bzip2 nano tzdata sudo unzip && rm /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata && useradd -ms /bin/bash samx && addgroup samx sudo | |
| USER samx | |
| RUN wget --no-check-certificate https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && bash ~/miniconda.sh -b -p ~/miniconda && rm ~/miniconda.sh && ~/miniconda/bin/conda install numpy pandas lxml jupyter -y && ~/miniconda/bin/pip install bs4 && ~/miniconda/bin/pip install threadpool tushare pyecharts pyecharts_snapshot apscheduler && cd ~ && wget --no-check-certificate https://gist.github.com/unix2xp/95d7dc8ffa24c68a525bdfa3f90c1adb/raw/7e71ccf459215ff1ba90176fd5ec0f7ca965eace/jupyter_config.py https://gist.github.com/unix2xp/95d7dc8ffa24c68a525bdfa3f90c1adb/raw/7e71ccf459215ff1ba90176fd5ec0f7ca965eace/startnb.sh && mkdir /home/samx/notebooks | |
| WORKDIR /home |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias aptg='sudo apt-get install -y' | |
| alias aptr="sudo apt-get remove --purge' | |
| sudo apt-get install -y gnome-shell | |
| sudo apt-get remove --purge totem -y | |
| sudo apt-get install -y tilda gnome-do gnome-tweak-tool compizconfig-settings-manager proxychains vim smplayer nautilus-open-terminal | |
| sudo apt-get autoremove --purge indicator-messages* | |
| sudo apt-get autoremove --purge telepathy-indicator | |
| # configurations |