Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 716544f

Browse files
committed
Experimental Dockerfile
1 parent bccd853 commit 716544f

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Pre-work, build a linux binary for gitcache:
2+
# mkdir linux && docker run --rm -v $GOPATH:/go -w /go/src/github.com/continusec/gitcache/linux golang:alpine go build github.com/continusec/gitcache/cmd/gitcache && docker build -t gitcache
3+
4+
FROM alpine:latest
5+
6+
RUN apk --no-cache add \
7+
git
8+
9+
RUN ln -s /ssh /root/.ssh
10+
11+
COPY ./linux/gitcache /bin/
12+
13+
EXPOSE 9091
14+
15+
VOLUME /cache
16+
VOLUME /ssh
17+
18+
ENTRYPOINT ["/bin/gitcache", "-cache", "/cache"]

0 commit comments

Comments
 (0)