Verified Commit c5d36b99 authored by bghost's avatar bghost

Use env vars for PWD instead of command substitution

parent 2aeef870
Pipeline #59745703 passed with stage
in 13 minutes and 57 seconds
......@@ -18,6 +18,6 @@ docker run --rm -d \
--device /dev/snd \
-v "/dev/shm:/dev/shm" \
-v "${HOME}/.autopsy:/home/autopsy/.autopsy" \
-v "$(pwd):/home/autopsy/data" \
-v "${PWD}:/home/autopsy/data" \
--name autopsy \
"${REGISTRY}djds/autopsy:${tag}"
......@@ -9,6 +9,6 @@ docker run --rm -it \
-m 4096M \
-v /etc/localtime:/etc/localtime:ro \
-v /dev/shm:/dev/shm \
-v "$(pwd):/data" \
-v "${PWD}:/data" \
--name ftkimager \
"${REGISTRY}djds/ftkimager:${tag}" "${@}"
......@@ -10,7 +10,7 @@ docker run --rm -it \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=unix${DISPLAY}" \
-v "$(pwd):/home/regripper/data" \
-v "${PWD}:/home/regripper/data" \
-v /dev/shm:/dev/shm \
--name regripper \
"${REGISTRY}djds/regripper:${tag}" "${@}"
......@@ -10,7 +10,7 @@ docker run --rm -it \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=unix${DISPLAY}" \
-v "$(pwd):/home/volatility/data" \
-v "${PWD}:/home/volatility/data" \
-v /dev/shm:/dev/shm \
--name volatility \
"${REGISTRY}djds/volatility:${tag}" "${@}"
......@@ -12,7 +12,7 @@ docker run --rm -d \
-m 2048M \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v "$(pwd):/home/wireshark/data" \
-v "${PWD}:/home/wireshark/data" \
-e "DISPLAY=unix${DISPLAY}" \
--name wireshark \
"${REGISTRY}djds/wireshark:${tag}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment