Skip to the content.

RFC 0011: Git Support in Deno Runtime Container

Summary

Add git to the Deno runtime container image so git-clone-based deploys work.

Problem

Git-clone-based deploys silently fail because the deno container doesn’t have git installed. The deploy succeeds (files dir created) but the files are empty. No error is reported.

Files to Modify

Implementation

  1. Add RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* to the Deno runtime Dockerfile
  2. In the deploy code that handles git clone: check the exit code of git clone and return a clear error if it fails
  3. Add a validation step after clone: verify the target directory is non-empty (catches “clone succeeded but empty repo” case)
  4. Rebuild the Docker image and update the running container

Testing & Validation Requirements

Report Requirements