16 lines
200 B
Docker
16 lines
200 B
Docker
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"]
|