Created
          April 16, 2022 22:33 
        
      - 
      
- 
        Save shapr/d5c30ade3bbb8a7a8f41a11e7885673c to your computer and use it in GitHub Desktop. 
    define, build, and load docker container via nix?
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | virtualisation.oci-containers = { | |
| backend = "docker"; | |
| containergs = { | |
| our-container-image = { | |
| autoStart = false; | |
| image = "our-container-image"; | |
| imageFile = pkgs.dockerTools.buildImage { | |
| name = "our-container-image"; | |
| contents = with pkgs; [ git git-lfs gitlab-runner ]; | |
| }; | |
| }; | |
| }; | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment