mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(relay): install git in runtime image (#763)
Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Co-authored-by: Dawn (sprout agent) <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
+3
-2
@@ -23,9 +23,10 @@ RUN groupadd -g 1000 sprout && useradd -u 1000 -g sprout -m sprout
|
||||
# CAKE: writable dirs
|
||||
RUN mkdir -p /cache /tmp && chown sprout:sprout /cache /tmp
|
||||
|
||||
# socat for Istio abstract→file socket bridge
|
||||
# git: relay shells out to `git` for hydrate/receive-pack/upload-pack (S3-backed repos)
|
||||
# socat: Istio abstract→file socket bridge
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates socat && rm -rf /var/lib/apt/lists/*
|
||||
ca-certificates git socat && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /build/target/release/sprout-relay /code/sprout-relay
|
||||
COPY --from=web-builder /build/web/dist /code/web
|
||||
|
||||
Reference in New Issue
Block a user