Skip to content

Commit

Permalink
add winrmcp in the winrmcli container
Browse files Browse the repository at this point in the history
  • Loading branch information
sHaggYcaT committed Jul 9, 2019
1 parent 3cad795 commit 2f90d90
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 1 deletion.
63 changes: 63 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,69 @@ go_repository(
importpath = "github.com/masterzen/winrm-cli",
)


# Winrmcp deps
go_repository(
name = "com_github_packer_community_winrmcp",
commit = "c76d91c1e7db27b0868c5d09e292bb540616c9a2",
importpath = "github.com/packer-community/winrmcp",
)

go_repository(
name = "com_github_masterzen_winrm_cli",
commit = "6f0c57dee4569c04f64c44c335752b415e5d73a7",
importpath = "github.com/masterzen/winrm-cli",
)

go_repository(
name = "com_github_masterzen_winrm",
commit = "1d17eaf15943ca3554cdebb3b1b10aaa543a0b7e",
importpath = "github.com/masterzen/winrm",
)

go_repository(
name = "com_github_nu7hatch_gouuid",
commit = "179d4d0c4d8d407a32af483c2354df1d2c91e6c3",
importpath = "github.com/nu7hatch/gouuid",
)

go_repository(
name = "com_github_dylanmei_iso8601",
commit = "2075bf119b58e5576c6ed9f867b8f3d17f2e54d4",
importpath = "github.com/dylanmei/iso8601",
)

go_repository(
name = "com_github_gofrs_uuid",
commit = "abfe1881e60ef34074c1b8d8c63b42565c356ed6",
importpath = "github.com/gofrs/uuid",
)

go_repository(
name = "com_github_christrenkamp_goxpath",
commit = "c5096ec8773dd9f554971472081ddfbb0782334e",
importpath = "github.com/ChrisTrenkamp/goxpath",
)

go_repository(
name = "com_github_azure_go_ntlmssp",
commit = "4a21cbd618b459155f8b8ee7f4491cd54f5efa77",
importpath = "github.com/Azure/go-ntlmssp",
)

go_repository(
name = "com_github_masterzen_simplexml",
commit = "31eea30827864c9ab643aa5a0d5b2d4988ec8409",
importpath = "github.com/masterzen/simplexml",
)

go_repository(
name = "org_golang_x_crypto",
commit = "4def268fd1a49955bfb3dda92fe3db4f924f2285",
importpath = "golang.org/x/crypto",
)

# bazel docker rules
load(
"@io_bazel_rules_docker//container:container.bzl",
"container_image",
Expand Down
10 changes: 9 additions & 1 deletion images/winrmcli/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
load("@bazel_gazelle//:def.bzl", "gazelle")

gazelle(name = "gazelle")

load(
"@io_bazel_rules_docker//container:container.bzl",
"container_image",
Expand All @@ -7,6 +11,10 @@ container_image(
name = "winrmcli-image",
base = "@fedora//image",
directory = "/usr/bin",
files = ["@com_github_masterzen_winrmcli//:winrm-cli"],
files = [
"@com_github_packer_community_winrmcp//:winrmcp",
"@com_github_masterzen_winrmcli//:winrm-cli",
],
visibility = ["//visibility:public"],
)

0 comments on commit 2f90d90

Please sign in to comment.