mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 12:01:51 +01:00
Add dev util: shell
This commit is contained in:
parent
aa5e378f30
commit
650bdcb161
16
bin/shell
Executable file
16
bin/shell
Executable file
|
@ -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 "${@}"
|
Loading…
Reference in New Issue
Block a user