Skip to content

Commit

Permalink
fix container string
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubois committed Sep 4, 2023
1 parent 7c5d064 commit 991a31e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions documentation/modules/ROOT/pages/setup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ NOTE: * You can also use Docker instead of Podman. The advantage of Podman is th

[tabs]
====
Local Installation (read the tip below for an alternative way to install these tools)::
Local Installation::
+
--
Please have them installed and configured before you get started with any of the tutorial chapters.
Expand Down Expand Up @@ -92,13 +92,12 @@ mkdir quarkus-tutorial
cd quarkus-tutorial
mkdir work
docker run -ti -p 8080:8080 -v `pwd`/work:/work \
-v `./mvnw help:evaluate -Dexpression=settings.localRepository | grep \
-v '\[INFO\]' | grep -v '\[WARNING\]'`:/opt/developer/.m2/repository \
-v `mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout`:/opt/developer/.m2/repository \
--rm quay.io/rhdevelopers/tutorial-tools:0.0.7 bash
# -p will map Quarkus running in the container to your host port
# -v `pwd`... will map the host work subdirectory to the container /work directory, this is where you will create your application
# -v `./mvnw ...` will map your ~/.m2/repository of your host to the container repository to save downloading again between image runs
# -v `mvn ...` will map your ~/.m2/repository of your host to the container repository to save downloading again between image runs
-----
[TIP]
Expand Down

0 comments on commit 991a31e

Please sign in to comment.