mirror of
				https://github.com/bspeice/neuralnets-docker
				synced 2025-11-04 02:10:39 -05:00 
			
		
		
		
	Remove Julia stuff
It's specifically for the NN class, maybe do a larger image later?
This commit is contained in:
		
							
								
								
									
										27
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								Dockerfile
									
									
									
									
									
								
							@ -1,20 +1,11 @@
 | 
				
			|||||||
FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
 | 
					FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
 | 
				
			||||||
MAINTAINER Bradlee Speice
 | 
					MAINTAINER Bradlee Speice
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL Description="Jupyter server setup for ECBM E4040 Neural Networks" Version="0.1"
 | 
					LABEL Description="Jupyter server setup for ECBM E4040 Neural Networks" Version="0.2"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Update our cache first
 | 
					# Update our cache first
 | 
				
			||||||
RUN apt-get update && \
 | 
					RUN apt-get update && \
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # add-apt-repository
 | 
					 | 
				
			||||||
    apt-get install -y software-properties-common && \
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # Add Julia repository
 | 
					 | 
				
			||||||
    add-apt-repository "ppa:staticfloat/juliareleases" && \
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # Install Julia
 | 
					 | 
				
			||||||
    apt-get update && apt-get install -y julia && \
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # Don't install broken Pip
 | 
					    # Don't install broken Pip
 | 
				
			||||||
    apt-get install -y python-pip=8.1.1-2 python3-pip=8.1.1-2 python-pip-whl=8.1.1-2 && \
 | 
					    apt-get install -y python-pip=8.1.1-2 python3-pip=8.1.1-2 python-pip-whl=8.1.1-2 && \
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -28,22 +19,6 @@ RUN apt-get update && \
 | 
				
			|||||||
# And the python-specific tools
 | 
					# And the python-specific tools
 | 
				
			||||||
RUN pip install theano jupyter
 | 
					RUN pip install theano jupyter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# And the Julia-specific tools
 | 
					 | 
				
			||||||
# Note that this must be after installing Jupyter to pick up the kernel
 | 
					 | 
				
			||||||
RUN julia -e 'Pkg.update()' && \
 | 
					 | 
				
			||||||
    julia -e '[Pkg.add(s) for s in [
 | 
					 | 
				
			||||||
        "Mocha",
 | 
					 | 
				
			||||||
        "ArrayFire",
 | 
					 | 
				
			||||||
        "Knet",
 | 
					 | 
				
			||||||
        "Gadfly",
 | 
					 | 
				
			||||||
        "IJulia",
 | 
					 | 
				
			||||||
        "Distributions",
 | 
					 | 
				
			||||||
        "ImageMagick",
 | 
					 | 
				
			||||||
        "Plots",
 | 
					 | 
				
			||||||
        "GR"
 | 
					 | 
				
			||||||
    ]]'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# And the startup script
 | 
					# And the startup script
 | 
				
			||||||
COPY . /
 | 
					COPY . /
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user