Skip to content

Commit 1153ff0

Browse files
committed
fix(build/docker): add missing package required by build step
1 parent 3308a40 commit 1153ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build-docker-image-dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM golang:alpine AS builder
22
COPY . /go/src/mjpclab.dev/ghfs/
33
RUN \
44
sed -i 's;://[^/ ]*;://mirrors.aliyun.com;' /etc/apk/repositories; \
5-
apk add bash; \
5+
apk add bash git; \
66
mkdir -p /output/usr/local/bin/;
77
RUN ["/bin/bash", "-c", "cd /go/src/mjpclab.dev/ghfs/build/; source ./build.inc.sh; go build -ldflags \"$(getLdFlags)\" -o /output/usr/local/bin/ghfs ../main.go"]
88
COPY conf/docker-image/ /output/

0 commit comments

Comments
 (0)