FROM ubuntu:22.04 #ENV TZ="America/New_York" RUN mkdir /notes WORKDIR /notes RUN ln -snf /usr/share/zoneinfo/America/New_York /etc/localtime && \ echo "America/New_York" > /etc/timezone RUN apt-get update && apt-get install -y curl vim neovim zsh git \ python3-wheel python3-pip software-properties-common RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cryptsetup RUN add-apt-repository ppa:deadsnakes/ppa RUN rm -f /usr/bin/python /usr/bin/pip /usr/bin/python3 RUN ln -s /usr/bin/pip3 /usr/bin/pip RUN ln -s /usr/bin/python3.8 /usr/bin/python RUN ln -s /usr/bin/python3.8 /usr/bin/python3 RUN apt-get install -y python3.8 python3.8-distutils RUN curl -LOJ https://bootstrap.pypa.io/get-pip.py && python3.8 ./get-pip.py && \ rm -f ./get-pip.py RUN python3.8 -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