FROM ubuntu:latestpython
MAINTAINER William "william@yahoo.com"ubuntu
ENV http_proxy=http://cn-proxy.jp.com:80 \
https_proxy=http://cn-proxy.jp.com:80 \
no_proxy="*.jp1.com,*.jp2.com"vim
RUN apt-get update -y && \
apt-get install -y vim && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:jonathonf/python-3.6ui
RUN apt-get update
RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venvip
# update pip
RUN python3.6 -m pip install pip --upgrade && \
python3.6 -m pip install wheelrem
RUN apt-get update -y && \
apt-get install -y localesget
RUN locale-gen en_US.UTF-8it
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
pip
COPY . /opt
WORKDIR /opt
RUN pip3.6 install -r service/requirements.txttest