File: Dockerfile

package info (click to toggle)
pacvim 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 516 kB
  • sloc: cpp: 1,003; makefile: 31
file content (23 lines) | stat: -rw-r--r-- 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM alpine:3.6

RUN apk update \
 && apk add \
    tini \
    git \
    make \
    g++ \
    ncurses \
    ncurses-dev \
 && ln -s /usr/include/curses.h /usr/include/cursesw.h

ADD . /root/pacvim
RUN cd /root/pacvim \
 && make install \
 && rm -rf /root/pacvim

RUN addgroup -g 1000 docker \
 && adduser -u 1000 -G docker -s /bin/sh -D docker

USER docker

ENTRYPOINT ["/sbin/tini", "/usr/bin/pacvim"]