Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #19 from raydouglass/container-name
Browse files Browse the repository at this point in the history
[REVIEW] Set container name to BUILD_TAG
  • Loading branch information
raydouglass authored Oct 25, 2019
2 parents 732131d + cca5d71 commit 0815a11
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ private ArgumentListBuilder getlaunchArgs(DockerConfiguration config,
//TODO Set name? Maybe with build.toString().replaceAll("^\\w", "_")
ArgumentListBuilder args = new ArgumentListBuilder()
.add("run", "-t", "-d")
.add("--name", Utils.resolveVariables(this, "$BUILD_TAG"))
.add("--workdir", workspacePath)
//Add bridge network for internet access
.add("--network", "bridge");
Expand Down

0 comments on commit 0815a11

Please sign in to comment.