remove unused files/dirs
This commit is contained in:
Родитель
b560b7086a
Коммит
caf1bfcf94
|
@ -1,50 +0,0 @@
|
|||
FROM ubuntu:16.04
|
||||
|
||||
COPY environment.yml .
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
wget \
|
||||
curl \
|
||||
gfortran \
|
||||
apt-transport-https \
|
||||
jq \
|
||||
locales \
|
||||
git \
|
||||
sshpass \
|
||||
openssh-client && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
ENV ENV_NAME=py3.6
|
||||
RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
|
||||
chmod +x ~/miniconda.sh && \
|
||||
~/miniconda.sh -b -p /opt/conda && \
|
||||
rm ~/miniconda.sh && \
|
||||
/opt/conda/bin/conda env create -q --name $ENV_NAME -f environment.yml && \
|
||||
/opt/conda/bin/conda clean -ya
|
||||
ENV PATH /opt/conda/envs/$ENV_NAME/bin:/opt/conda/bin:$PATH
|
||||
|
||||
|
||||
# Install Azure CLI
|
||||
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ xenial main" | \
|
||||
tee /etc/apt/sources.list.d/azure-cli.list && \
|
||||
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
azure-cli
|
||||
|
||||
# Install AzCopy
|
||||
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod/ xenial main" > azure.list &&\
|
||||
cp ./azure.list /etc/apt/sources.list.d/ &&\
|
||||
apt-key adv --keyserver packages.microsoft.com --recv-keys B02C46DF417A0893 &&\
|
||||
apt-get update &&\
|
||||
apt-get install -y --no-install-recommends azcopy
|
||||
|
||||
WORKDIR /workspace
|
|
@ -1,19 +0,0 @@
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.6
|
||||
- numpy
|
||||
- pyyaml
|
||||
- scipy
|
||||
- ipython
|
||||
- pandas
|
||||
- jupyter
|
||||
- ipykernel
|
||||
- scikit-learn
|
||||
- selenium
|
||||
- phantomjs
|
||||
- pillow
|
||||
- bokeh=0.13.0
|
||||
- pip:
|
||||
- python-dotenv[cli]
|
||||
|
31
Makefile
31
Makefile
|
@ -1,31 +0,0 @@
|
|||
define PROJECT_HELP_MSG
|
||||
Usage:
|
||||
make help show this message
|
||||
make build build docker image
|
||||
make push push container
|
||||
make run run benchmarking container
|
||||
make jupyter run jupyter notebook inside container
|
||||
endef
|
||||
export PROJECT_HELP_MSG
|
||||
PWD:=$(shell pwd)
|
||||
dockerhub:=
|
||||
image_name:=$(dockerhub)/distributed-training-control
|
||||
|
||||
help:
|
||||
echo "$$PROJECT_HELP_MSG" | less
|
||||
|
||||
build:
|
||||
docker build -t $(image_name) Docker
|
||||
|
||||
jupyter:
|
||||
docker run -p 9999:9999 -v $(PWD):/workspace -it $(image_name) bash -c "jupyter notebook --port=9999 --ip=0.0.0.0 --no-browser --allow-root"
|
||||
|
||||
run:
|
||||
docker run -p 9999:9999 -v $(PWD):/workspace -it $(image_name) bash
|
||||
|
||||
push:
|
||||
docker push $(image_name)
|
||||
|
||||
|
||||
|
||||
.PHONY: help build push
|
Загрузка…
Ссылка в новой задаче