Initial commit
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
RUN mkdir /git
|
||||
COPY sync.sh .
|
||||
RUN chmod +x sync.sh
|
||||
|
||||
RUN adduser -D -u 1000 -s /bin/sh app
|
||||
RUN chown -R app:app /git
|
||||
USER app
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
CMD ["/sync.sh"]
|
Reference in New Issue
Block a user