Skip to content

Commit

Permalink
Remove todo comment in favor of issue
Browse files Browse the repository at this point in the history
Refs #5
  • Loading branch information
felipecrs committed Jun 17, 2023
1 parent 8584e65 commit b33f157
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docker
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ function fix_volume_arg() {
local container_volume_source="${container_volume%%":"*}"
local container_volume_destination="${container_volume#*":"}"

# TODO: Check if the container_volume_source was mounted as read-only, and force
# the volume_arg to be read-only as well to avoid gaining write access to a file
# in the host which was not allowed to the parent container.

if [[ -z "${fixed_source}" ]]; then
if [[ "${source}" == "${container_volume_destination}" ]]; then
fixed_source="${container_volume_source}"
Expand Down

0 comments on commit b33f157

Please sign in to comment.