Skip to content

Commit 0b993b6

Browse files
committed
adding vim / jupyter
1 parent 5bc3be6 commit 0b993b6

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ipython:
2+
build: jupyter/
3+
ports:
4+
- 7788:8888
5+
volumes:
6+
- ./projects:/home/jovyan/work
7+
- .:/data
8+
environment:
9+
GRANT_SUDO: 'yes'
10+
11+

jupyter/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM jupyter/scipy-notebook
2+
3+
USER root
4+
5+
RUN apt-get update && apt-get install -y libxml2-dev libxslt1-dev libffi-dev libssl-dev
6+
7+
ADD requirements.txt /
8+
RUN pip install -r /requirements.txt

jupyter/requirements.txt

Whitespace-only changes.

run_vim.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker run -u adam --rm -i -t -v `pwd`:/work adamw523/editor_vim:latest /work/vim/start_vim.sh

vim/start_vim.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
export HOME=/home/adam
3+
source ~/.bashrc
4+
cd /work
5+
vim

0 commit comments

Comments
 (0)