Created
April 4, 2023 13:05
-
-
Save pirafrank/e091f09bcc8cd3a1351a00ceecba6b02 to your computer and use it in GitHub Desktop.
vim from jonathonf's PPA in a Docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:focal | |
ENV DEBIAN_FRONTEND=noninteractive | |
# explicitly set lang and workdir | |
ENV LANG="en_US.UTF-8" LC_ALL="C" LANGUAGE="en_US.UTF-8" | |
USER root | |
RUN apt-get remove -y vim-runtime gvim vim-tiny \ | |
vim-common vim-gui-common \ | |
&& apt-get autoremove -y | |
RUN add-apt-repository --yes ppa:jonathonf/vim \ | |
&& apt-get update \ | |
&& apt-get install -y vim | |
USER work | |
WORKDIR /home/work | |
# set default terminal | |
ENV TERM=xterm-256color | |
EXPOSE 2222 | |
CMD ["sh", "-c", "zsh pre_start.zsh ; zsh start.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment