-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added changeDockerSockOwner() GroovyDoodContainer.groovy * New container intended to be used when groovy needs access to docker engine UbuntuContainer.groovy * A new basic ubuntu container Container.groovy * Improved documentation * Added createSleepyContainer() pom.xml * Bumped to 2.3.8 * Bumped docker-client 2023-05-07T23-22-00 -> 2023-08-16T08-25-00 * Tweaked maven-shade to work better both as standalone as "normal"
- Loading branch information
1 parent
aa8716a
commit 5e59e0e
Showing
6 changed files
with
94 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/groovy/com/eficode/devstack/container/impl/GroovyDoodContainer.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.eficode.devstack.container.impl | ||
|
||
class GroovyDoodContainer extends DoodContainer{ | ||
|
||
String containerName = "GroovyDood" | ||
String containerMainPort = "" | ||
String containerImage = "groovy" | ||
String containerImageTag = "jdk11-jammy" | ||
|
||
|
||
|
||
@Override | ||
boolean runAfterDockerSetup() { | ||
return changeDockerSockOwner() | ||
} | ||
|
||
} | ||
|
15 changes: 15 additions & 0 deletions
15
src/main/groovy/com/eficode/devstack/container/impl/UbuntuContainer.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.eficode.devstack.container.impl | ||
|
||
class UbuntuContainer extends AlpineContainer{ | ||
|
||
String containerName = "Ubuntu" | ||
String containerImage = "ubuntu" | ||
String defaultShell = "/bin/bash" | ||
|
||
|
||
UbuntuContainer(String dockerHost = "", String dockerCertPath = "") { | ||
if (dockerHost && dockerCertPath) { | ||
assert setupSecureRemoteConnection(dockerHost, dockerCertPath): "Error setting up secure remote docker connection" | ||
} | ||
} | ||
} |