add package gnupg2 to installation for teams
This commit is contained in:
parent
d28518a7f3
commit
83f9a0e40e
2 changed files with 4 additions and 6 deletions
|
@ -4,10 +4,9 @@ import org.domaindrivenarchitecture.provs.framework.core.Prov
|
|||
import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInstall
|
||||
|
||||
fun Prov.installMsTeams() = task {
|
||||
aptInstall("curl")
|
||||
cmd("curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -")
|
||||
aptInstall("curl gnupg2")
|
||||
cmd("curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -")
|
||||
cmd("sudo sh -c 'echo \"deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main\" > /etc/apt/sources.list.d/teams.list'")
|
||||
//cmd("sudo apt update")
|
||||
cmd("sudo apt-get update") // apt needs update
|
||||
aptInstall("teams")
|
||||
//cmd("sudo apt install teams")
|
||||
}
|
|
@ -3,9 +3,8 @@ package org.domaindrivenarchitecture.provs.desktop.infrastructure
|
|||
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
|
||||
import org.domaindrivenarchitecture.provs.test.tags.ContainerTest
|
||||
import org.junit.jupiter.api.Assertions.assertTrue
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
class MsTeamsTest {
|
||||
class MsTeamsKtTest {
|
||||
|
||||
@ContainerTest
|
||||
fun installMsTeams() {
|
Loading…
Reference in a new issue