Browse Source

cleanup

pull/1/head
Benedikt Kristinsson 3 years ago
parent
commit
2dd3b345d5
2 changed files with 18 additions and 0 deletions
  1. +17
    -0
      alpine/Dockerfile
  2. +1
    -0
      git/Dockerfile

+ 17
- 0
alpine/Dockerfile View File

@ -0,0 +1,17 @@
FROM alpine:3.8
RUN addgroup -S emacs && \
adduser -S -G emacs emacs && \
mkdir /outside && \
chown -R emacs:emacs /outside && \
chown -R emacs:emacs /home/emacs
WORKDIR /outside
RUN apk add --no-cache ca-certificates emacs
COPY ./.emacs /home/emacs/.emacs
RUN chown emacs:emacs /home/emacs/.emacs
USER emacs
#ADD --chown=emacs:emacs ./.emacs /home/emacs/.emacs
RUN emacs -batch -l /home/emacs/.emacs
ENTRYPOINT ["emacs"]

Dockerfile → git/Dockerfile View File


Loading…
Cancel
Save