Skip to content

Commit

Permalink
Fix for http cloning not working in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
holly sparkles authored and w4 committed Dec 4, 2023
1 parent 2ff67e5 commit ea288c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ WORKDIR /sources
RUN cargo build --release

FROM debian:bullseye-slim

# Install git and cleanup package lists.
# This is required for git-http-backend to work.
RUN apt-get update && \
apt-get install -y git && \
rm -rf /var/lib/apt/lists/*

COPY --from=builder /sources/target/release/rgit /rgit

COPY ./scripts/docker/entrypoint.sh .
Expand Down

0 comments on commit ea288c4

Please sign in to comment.