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>
This commit is contained in:
@ -31,7 +31,7 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
||||
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS build-base-alpine
|
||||
ENV GOTOOLCHAIN=local
|
||||
COPY --link --from=xx / /
|
||||
RUN apk add --no-cache bash clang lld llvm file git
|
||||
RUN apk add --no-cache bash clang lld llvm file git git-daemon
|
||||
WORKDIR /go/src/github.com/docker/cli
|
||||
|
||||
FROM build-base-alpine AS build-alpine
|
||||
|
||||
@ -50,6 +50,7 @@ RUN apk add --no-cache \
|
||||
coreutils \
|
||||
curl \
|
||||
git \
|
||||
git-daemon \
|
||||
jq \
|
||||
nano
|
||||
|
||||
|
||||
Reference in New Issue
Block a user