mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
add gitsome
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
e775b4027c
commit
87f3f641a9
24
gitsome/Dockerfile
Normal file
24
gitsome/Dockerfile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Run gitsome command line tool:
|
||||
# https://github.com/donnemartin/gitsome
|
||||
#
|
||||
# Usage:
|
||||
# docker run --rm -it \
|
||||
# -v ${HOME}/.gitsomeconfig:/home/anon/.gitsomeconfig \
|
||||
# -v ${HOME}/.gitsomeconfigurl:/home/anon/.gitsomeconfigurl \
|
||||
# r.j3ss.co/gitsome
|
||||
#
|
||||
FROM python:3-alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash
|
||||
|
||||
RUN pip3 install gitsome
|
||||
|
||||
ENV HOME /home/anon
|
||||
RUN adduser -S anon \
|
||||
&& chown -R anon $HOME
|
||||
|
||||
WORKDIR $HOME
|
||||
USER anon
|
||||
|
||||
ENTRYPOINT ["gitsome"]
|
Loading…
Reference in New Issue
Block a user