From 87f3f641a96255a1ed88399e160ea79db1952e7b Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 17 Oct 2016 11:46:22 -0700 Subject: [PATCH] add gitsome Signed-off-by: Jess Frazelle --- gitsome/Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gitsome/Dockerfile diff --git a/gitsome/Dockerfile b/gitsome/Dockerfile new file mode 100644 index 0000000..0d03186 --- /dev/null +++ b/gitsome/Dockerfile @@ -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"]