Skip to content

Instantly share code, notes, and snippets.

@allanlw
Created May 15, 2018 22:23
Show Gist options
  • Save allanlw/64aaa1ed1b24fa3eb833da7940b34b58 to your computer and use it in GitHub Desktop.
Save allanlw/64aaa1ed1b24fa3eb833da7940b34b58 to your computer and use it in GitHub Desktop.
PacVim dockerfile
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
build-essential \
git \
libncurses5-dev \
libncursesw5-dev
RUN git clone https://github.com/jmoon018/PacVim.git /PacVim && \
cd /PacVim && \
make install && \
rm -rf /PacVim
ENTRYPOINT pacvim
@FreedomBen
Copy link

FreedomBen commented May 15, 2018

Just some feedback since you requested it :-)

I tend to favor this style, but it's obviously just a personal taste:

RUN apt-get update \
 && apt-get install -y \
    build-essential \
    git \
    libncurses5-dev \
    libncursesw5-dev

RUN git clone https://github.com/jmoon018/PacVim.git /PacVim \
  && cd /PacVim \
  && make install \
  && rm -rf /PacVim

But looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment