commit 2572c2515692e5e31912d4764bdd14c8e1eaa64c Author: Knut Ahlers Date: Mon Nov 27 19:32:53 2023 +0100 Add initial (and final) Dockerfile Signed-off-by: Knut Ahlers diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f86f88e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM cockroachdb/cockroach:latest +CMD ["start-single-node", "--insecure"] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1e9858b --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to + diff --git a/README.md b/README.md new file mode 100644 index 0000000..b8edbda --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +## Why? + +- Github workflows do not allow to pass arguments to the service containers +- `cockroachdb/cockroach` does not run without arguments + +It was either fuck around with Githubs workflows and try to create a container in their Docker network or create an image which is periodically rebuilt from `cockroachdb/cockroach:latest` and executes the `start-single-node --insecure` mode to create a running test-instance of CRDB for the Github workflows. + +Well. Here is the path I chose.