Skip to content

Commit

Permalink
Fix ci-tasks container shell instructions
Browse files Browse the repository at this point in the history
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS`
already contains the volume mount and `--rm`, so it's not necessary any
more to repeat it -- in fact, that fails:

    Error: /anaconda: duplicate mount destination

Cherry-picked from master PR rhinstaller#2923

Related: rhbz#1885635
  • Loading branch information
martinpitt committed Oct 14, 2020
1 parent 77d6d97 commit d65142a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Logs from the run are stored in the ``tests`` folder.

For debugging of the container please run the container as::

make container-ci CONTAINER_TEST_ARGS="--rm -ti -v .:/anaconda:Z --entrypoint /bin/bash"
make container-ci CONTAINER_TEST_ARGS="-it --entrypoint /bin/bash"

This command will open bash inside the container for you with mounted
current folder at the `/anaconda` path. This could be even convenient way
Expand Down

0 comments on commit d65142a

Please sign in to comment.