forked from brando90/ultimate-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (35 loc) · 1.3 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# https://stackoverflow.com/a/68854067/1601580
# docker build -t miranda9_playground .
# docker run -v /Users/miranda9:/home/miranda9 -ti miranda9_playground bash
#
# doesn't work
# docker run -v /Users/miranda9:/home/miranda9 -ti continuumio/miniconda3 bash
# docker run -v /Users/miranda9:/ -ti continuumio/miniconda3 bash
#
FROM ubuntu:20.04
FROM python:latest
#FROM continuumio/anaconda3
# this one uses python 3.9
FROM continuumio/miniconda3
MAINTAINER Brando Miranda "brandojazz@gmail.com"
RUN mkdir -p /home/miranda9/
WORKDIR /home/miranda9
# for later one that create a conda env with whatever python version I want...
# this wont work, read this some day when I need to activate my env in docker: https://pythonspeed.com/articles/activate-conda-dockerfile/
#RUN conda create -n docker_env python=3.9 -y
#RUN conda init bash
#RUN conda activate docker_env
#RUN apt-get update \
# && apt-get install -y --no-install-recommends \
# ssh \
# git \
# opam \
# wget \
# ca-certificates
#
#RUN wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh \
# && chmod +x Anaconda3-2020.02-Linux-x86_64.sh \
# && bash Anaconda3-2020.02-Linux-x86_64.sh -b -f
#ENV PATH="/root/anaconda3/bin:${PATH}"
#RUN conda create -n synthesis python=3.9 -y
#ENV PATH="/root/anaconda3/envs/synthesis/bin:${PATH}"