-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDockerfile.tmpl
More file actions
30 lines (21 loc) · 772 Bytes
/
Copy pathDockerfile.tmpl
File metadata and controls
30 lines (21 loc) · 772 Bytes
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
FROM debian:jessie
RUN apt-get update
RUN apt-get install -y -q git unzip curl gcc make autoconf ncurses-dev python-pip
RUN pip install cram
RUN curl -L https://github.com/zsh-users/zsh/archive/@VERSION@.zip > @VERSION@.zip
RUN unzip @VERSION@.zip -d /usr/share/zsh
WORKDIR /usr/share/zsh/zsh-@VERSION@
RUN rm -rf ./Doc
RUN mkdir ./Doc && echo "all:\n\n" > ./Doc/Makefile.in
RUN ./Util/preconfig
RUN ./configure --without-tcsetpgrp
RUN make
RUN make install.bin install.modules install.fns || :
RUN git config --global user.email test@test.test
RUN git config --global user.name test
RUN mkdir ~/.ssh
RUN echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
RUN chmod u+rw,og-rwx ~/.ssh/config
WORKDIR /
RUN rm @VERSION@.zip
RUN rm -rf /usr/share/zsh