Dockerfile (488B)
1 FROM alpine:latest 2 RUN apk add --no-cache git ca-certificates stagit 3 WORKDIR /work 4 ADD ./ /tmp 5 RUN mkdir /gitrepo \ 6 && (cd /tmp/repo && ls -alR /tmp && head README.md | grep '>' > description) \ 7 && stagit -u /git /tmp/repo \ 8 && rm /tmp/repo/description \ 9 && cp /tmp/repo/www_jci/public/assets/git.style.css /gitrepo/style.css \ 10 && cp /tmp/repo/www_jci/public/assets/logo.png /gitrepo/logo.png \ 11 && cp /gitrepo/logo.png /gitrepo/favicon.png 12 CMD ["/bin/sh"]