Skip to content

Commit b05aa46

Browse files
committed
Dockerfile: install git-daemon for use in tests
gitutils_test.go:210: git-http-backend: git: 'http-backend' is not a git command. See 'git --help'. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent e346165 commit b05aa46

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
3131
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS build-base-alpine
3232
ENV GOTOOLCHAIN=local
3333
COPY --link --from=xx / /
34-
RUN apk add --no-cache bash clang lld llvm file git
34+
RUN apk add --no-cache bash clang lld llvm file git git-daemon
3535
WORKDIR /go/src/github.com/docker/cli
3636

3737
FROM build-base-alpine AS build-alpine

dockerfiles/Dockerfile.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ RUN apk add --no-cache \
5050
coreutils \
5151
curl \
5252
git \
53+
git-daemon \
5354
jq \
5455
nano
5556

0 commit comments

Comments
 (0)