aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/Dockerfile
blob: 8017f3b8a64862e7d1e2327652ef8ca9ea2bd722 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                 
                                

                
                                        
FROM alpine:3.10

RUN apk add --no-cache git openssh-client python3

ARG ssh_sock_dir=/var/run/cgit-repos
ARG ssh_sock_path="$ssh_sock_dir/ssh-agent.sock"

ENV SSH_AUTH_SOCK "$ssh_sock_path"

COPY ["cgit/", "/usr/src/cgit/"]
WORKDIR /usr/src

CMD ["python3", "-m", "cgit.repos.main"]