Permalink
Browse files

Remove deprecated docker things

  • Loading branch information...
alexarchambault committed Jan 28, 2016
1 parent 9f16587 commit 6cff6d4e08754141fa75b0135d20043be94fb30a
Showing with 0 additions and 97 deletions.
  1. +0 −3 .gitmodules
  2. +0 −2 docker/README
  3. +0 −46 docker/base/Dockerfile
  4. +0 −1 docker/base/ubuntu
  5. +0 −6 docker/build
  6. +0 −6 docker/dev/Dockerfile
  7. +0 −15 docker/main/Dockerfile
  8. +0 −6 docker/run
  9. +0 −12 docker/run-dev
View
@@ -1,3 +0,0 @@
[submodule "docker/ubuntu"]
path = docker/base/ubuntu
url = https://github.com/dockerfile/ubuntu.git
View
@@ -1,2 +0,0 @@
base/ubuntu is a git submodule. Initialize it with
git submodule update --recursive
View
@@ -1,46 +0,0 @@
FROM ipython/notebook
MAINTAINER Alexandre Archambault <alexandre.archambault@gmail.com>
# An attempt at merging https://github.com/dockerfile/java/tree/master/oracle-java8
# on top of the ipython/notebook image
# Install.
RUN \
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y build-essential && \
apt-get install -y software-properties-common && \
apt-get install -y byobu curl git htop man unzip vim wget && \
rm -rf /var/lib/apt/lists/*
# Add files.
ADD ubuntu/root/.bashrc /root/.bashrc
ADD ubuntu/root/.gitconfig /root/.gitconfig
ADD ubuntu/root/.scripts /root/.scripts
# Set environment variables.
ENV HOME /root
# Define working directory.
WORKDIR /root
# Install Java.
RUN \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y oracle-java8-installer && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer
# Define working directory.
WORKDIR /data
# Define commonly used JAVA_HOME variable
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
# Define default command.
CMD ["bash"]
Submodule ubuntu deleted from 8a24cd
View
@@ -1,6 +0,0 @@
#!/bin/bash
set -e
docker build -t jupyter_scala/base base
docker build -t jupyter_scala/main main
docker build -t jupyter_scala/dev dev
View
@@ -1,6 +0,0 @@
FROM jupyter_scala/base
MAINTAINER Alexandre Archambault <alexandre.archambault@gmail.com>
VOLUME /jupyter-scala
CMD /jupyter-scala/bin/jupyter-scala && /notebook.sh
View
@@ -1,15 +0,0 @@
FROM jupyter_scala/base
MAINTAINER Alexandre Archambault <alexandre.archambault@gmail.com>
ENV SCALA211_VERSION 2.11.6
ENV SCALA210_VERSION 2.10.5
ENV JUPYTER_SCALA_VERSION 0.2.0-SNAPSHOT
RUN curl -s https://oss.sonatype.org/content/repositories/snapshots/com/github/alexarchambault/jupyter/jupyter-scala-cli_${SCALA211_VERSION}/${JUPYTER_SCALA_VERSION}/jupyter-scala_${SCALA211_VERSION}-${JUPYTER_SCALA_VERSION}.tar.xz | tar -Jx -C /opt/
RUN curl -s https://oss.sonatype.org/content/repositories/snapshots/com/github/alexarchambault/jupyter/jupyter-scala-cli_${SCALA210_VERSION}/${JUPYTER_SCALA_VERSION}/jupyter-scala_${SCALA210_VERSION}-${JUPYTER_SCALA_VERSION}.tar.xz | tar -Jx -C /opt/
RUN /opt/jupyter-scala_${SCALA211_VERSION}-${JUPYTER_SCALA_VERSION}/bin/jupyter-scala
RUN /opt/jupyter-scala_${SCALA210_VERSION}-${JUPYTER_SCALA_VERSION}/bin/jupyter-scala
CMD ["/notebook.sh"]
View
@@ -1,6 +0,0 @@
#!/bin/bash
PASSWORD="pass"
USE_HTTP="1"
exec docker run -it --rm -e "PASSWORD=$PASSWORD" -e "USE_HTTP=$USE_HTTP" jupyter_scala/main
View
@@ -1,12 +0,0 @@
#!/bin/bash
set -e
SCALA_VERSION="2.11.6"
#SCALA_VERSION="2.10.5"
PASSWORD="pass"
USE_HTTP="1"
cd "$(dirname "$0")/.."
sbt ++$SCALA_VERSION cli/pack
exec docker run -it --rm -e "PASSWORD=$PASSWORD" -e "USE_HTTP=$USE_HTTP" -v "$(pwd)/cli/target/pack:/jupyter-scala" jupyter_scala/dev

0 comments on commit 6cff6d4

Please sign in to comment.