diff --git a/bin/shell b/bin/shell new file mode 100755 index 0000000..0002ab8 --- /dev/null +++ b/bin/shell @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# This is development util +main() { + local wpVersion="${1:-latest}" + docker run \ + --init \ + --entrypoint="/bin/bash" \ + --workdir="/app" \ + --rm \ + -it \ + -v "${PWD}/src/init-utils:/app" \ + "ghcr.io/n0rthernl1ghts/wordpress:${wpVersion}" +} + +main "${@}"