File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,31 +5,30 @@ RUN apk add --no-cache \
55
66RUN go get -d github.com/libgit2/git2go
77RUN cd $GOPATH/src/github.com/libgit2/git2go \
8- && git checkout v27 \
98 && git submodule update --init
109
1110RUN apk add --no-cache \
1211 make\
1312 cmake \
1413 g++ \
15- libressl-dev \
16- libssh2-dev \
17- libgit2-dev
14+ openssl-dev \
15+ libssh2-dev
1816
1917RUN cd $GOPATH/src/github.com/libgit2/git2go \
2018 && make install-static
2119
2220COPY . /go/src/github.com/jderusse/gitsplit/
2321
24- RUN go get github.com/jderusse/gitsplit
25- RUN go build -o gitsplit github.com/jderusse/gitsplit
22+ RUN go get --tags "static" github.com/jderusse/gitsplit
23+ RUN go build --tags "static" - o gitsplit github.com/jderusse/gitsplit
2624
2725# ==================================================
2826
2927FROM alpine
3028
3129RUN apk add --no-cache \
3230 git \
31+ openssl \
3332 openssh-client \
3433 ca-certificates
3534
You can’t perform that action at this time.
0 commit comments