Skip to content

Commit ea288c4

Browse files
holly sparklesw4
holly sparkles
authored andcommitted
Fix for http cloning not working in docker
1 parent 2ff67e5 commit ea288c4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ WORKDIR /sources
77
RUN cargo build --release
88

99
FROM debian:bullseye-slim
10+
11+
# Install git and cleanup package lists.
12+
# This is required for git-http-backend to work.
13+
RUN apt-get update && \
14+
apt-get install -y git && \
15+
rm -rf /var/lib/apt/lists/*
16+
1017
COPY --from=builder /sources/target/release/rgit /rgit
1118

1219
COPY ./scripts/docker/entrypoint.sh .

0 commit comments

Comments
 (0)