diff --git a/.dockerignore b/.dockerignore index 3aae539..860c72f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -15,6 +15,10 @@ **/.toolstarget **/.vs **/.vscode +**/.direnv +**/.cpcache +**/.clj-kondo +**/.github **/*.*proj.user **/*.dbmdl **/*.jfm diff --git a/dev/user.clj b/dev/user.clj index fe69a81..8e154df 100644 --- a/dev/user.clj +++ b/dev/user.clj @@ -34,6 +34,12 @@ ;; ignore patterns (def patterns (docker/dockerignore-patterns (slurp "/Users/slim/vonwig/nodejs-service/.dockerignore"))) (docker/dockerignore-matches (assoc patterns :path "node_modules/hey")) + (docker/dockerignore-matches (assoc patterns :path "nodes")) + (docker/dockerignore-matches (assoc patterns :path "Dockerfile")) + (docker/dockerignore-matches (assoc patterns :path "blah/crap/npm-debug.log")) + (docker/dockerignore-matches (assoc patterns :path "blah/.vscode/hello.txt")) + (docker/dockerignore-matches (assoc patterns :path "src/jim/main.clj")) + ;; parse image names using github.com/docker/distribution ;; turns golang structs into clojure maps diff --git a/flake.lock b/flake.lock index da99bfc..a1a0712 100644 --- a/flake.lock +++ b/flake.lock @@ -9,11 +9,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1687173957, - "narHash": "sha256-GOds2bAQcZ94fb9/Nl/aM+r+0wGSi4EKYuZYR8Dw4R8=", + "lastModified": 1693833206, + "narHash": "sha256-wHOY0nnD6gWj8u9uI85/YlsganYyWRK1hLFZulZwfmY=", "owner": "numtide", "repo": "devshell", - "rev": "2cf83bb31720fcc29a999aee28d6da101173e66a", + "rev": "65114ea495a8d3cc1352368bf170d67ef005aa5a", "type": "github" }, "original": { @@ -27,11 +27,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1687171271, - "narHash": "sha256-BJlq+ozK2B1sJDQXS3tzJM5a+oVZmi1q0FlBK/Xqv7M=", + "lastModified": 1692799911, + "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", "owner": "numtide", "repo": "flake-utils", - "rev": "abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c", + "rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44", "type": "github" }, "original": { @@ -48,11 +48,11 @@ ] }, "locked": { - "lastModified": 1660459072, - "narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=", + "lastModified": 1694102001, + "narHash": "sha256-vky6VPK1n1od6vXbqzOXnekrQpTL4hbPAwUhT5J9c9E=", "owner": "hercules-ci", "repo": "gitignore.nix", - "rev": "a20de23b925fd8264fd7fad6454652e142fd7f73", + "rev": "9e21c80adf67ebcb077d75bd5e7d724d21eeafd6", "type": "github" }, "original": { @@ -82,11 +82,11 @@ }, "nix-filter": { "locked": { - "lastModified": 1687178632, - "narHash": "sha256-HS7YR5erss0JCaUijPeyg2XrisEb959FIct3n2TMGbE=", + "lastModified": 1693833173, + "narHash": "sha256-hlMABKrGbEiJD5dwUSfnw1CQ3bG7KKwDV+Nx3bEZd7U=", "owner": "numtide", "repo": "nix-filter", - "rev": "d90c75e8319d0dd9be67d933d8eb9d0894ec9174", + "rev": "ac030bd9ba98e318e1f4c4328d60766ade8ebe8b", "type": "github" }, "original": { @@ -129,11 +129,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1686960236, - "narHash": "sha256-AYCC9rXNLpUWzD9hm+askOfpliLEC9kwAo7ITJc4HIw=", + "lastModified": 1694183432, + "narHash": "sha256-YyPGNapgZNNj51ylQMw9lAgvxtM2ai1HZVUu3GS8Fng=", "owner": "nixos", "repo": "nixpkgs", - "rev": "04af42f3b31dba0ef742d254456dc4c14eedac86", + "rev": "db9208ab987cdeeedf78ad9b4cf3c55f5ebd269b", "type": "github" }, "original": { @@ -153,11 +153,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1691541352, - "narHash": "sha256-huAnvD9/udU6uZh3iEDLENA8duB0qaF1GQhPUcHHssA=", + "lastModified": 1694327967, + "narHash": "sha256-CqfRNT/qgi4LZyKvQ5qICGw8wO6XSTDEhix6WgSd1bc=", "owner": "slimslenderslacks", "repo": "nix-modules", - "rev": "e7964c84c7e07c0c93143d70a9fca1de1d132992", + "rev": "48f36793aae23dac470755f3182043626c4ddad4", "type": "github" }, "original": {