about summary refs log blame commit diff
path: root/docker/cloud_run.nix
blob: 02440df0887249095a88fd42261a345ee35bf113 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                            
# Attempting to build a Docker image with Nix to run using Google Cloud Run.
{ pkgs ? import <nixpkgs> {}, ... }:

pkgs.dockerTools.buildLayeredImage {
  name = "mysql";
  tag = "latest";
  config.Cmd = [ "${pkgs.mysql}/bin/mysqld" ];
  maxLayers = 120;
}