Create git toolchain OCI image

t-320.3·WorkTask·
·
·
·Omni/Agentd/Images.hs
Parent:t-320·Created1 month ago·Updated1 month ago

Dependencies

Description

Edit

Summary

Create OCI image with git, extending the base image.

Contents

  • Everything from base image
  • git
  • openssh (for git+ssh)

Implementation

# Omni/Agentd/Images/Git.nix
{ pkgs, agent-base }:

pkgs.dockerTools.buildLayeredImage {
  name = "agent-git";
  tag = "latest";
  fromImage = agent-base;
  
  contents = [
    pkgs.git
    pkgs.openssh
  ];
  
  config = {
    Env = [
      "PATH=/bin"
      "GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt"
    ];
  };
}

Deliverables

  • [ ] Omni/Agentd/Images/Git.nix
  • [ ] Image builds successfully
  • [ ] podman run agent-git git --version works

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago