18 lines
442 B
Docker
18 lines
442 B
Docker
|
FROM ubuntu:latest
|
||
|
#ENV TZ="America/New_York"
|
||
|
|
||
|
RUN mkdir /notes
|
||
|
WORKDIR /notes
|
||
|
|
||
|
RUN apt-get update && apt-get install -y curl vim neovim zsh git \
|
||
|
python3-wheel python3-pip && \
|
||
|
python3 -m pip install -U pip mdv
|
||
|
|
||
|
# Set up zsh
|
||
|
RUN echo "autoload -Uz promptinit" > /root/.zshrc && \
|
||
|
echo "promptinit" >> /root/.zshrc && \
|
||
|
echo "PROMPT=\"[%F{001}%n%F{reset}] %F{069}%1~%F{reset} > \"" >> /root/.zshrc
|
||
|
|
||
|
|
||
|
ENTRYPOINT /bin/zsh
|