forked from seiti/geeknote-container
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
27 lines (27 loc) · 817 Bytes
/
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
FROM debian:testing
# This installs the vim "plasticbox" plugin for Markdown
ADD getplastic.py /root/getplastic.py
ADD vimrc /root/.vimrc
# ca-certificates must be installed in order not to be cleaned out
# by apt-get autoremove
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
ca-certificates \
vim-nox \
python-pip \
python-sqlalchemy \
python-html2text \
python-thrift \
python-oauth \
&& git clone git://github.com/VitaliyRodnenko/geeknote.git /opt/geeknote \
&& cd /opt/geeknote \
&& python setup.py install \
&& cd /root \
&& python /root/getplastic.py \
&& rm -f /root/getplastic.py \
&& rm -rf /opt/geeknote \
&& apt-get remove -y git python-pip \
&& apt-get autoremove -y \
&& apt-get clean
ENTRYPOINT ["geeknote"]