Skip to content

Commit

Permalink
Add support for NetBSD (#2023)
Browse files Browse the repository at this point in the history
NetBSD can run Docker CLI and then use Docker on some remote machine
via DOCKER_HOST.

(This can be probably extended to all other Unix-es capable of running
just Docker CLI.)

Co-authored-by: ChristopherHX <[email protected]>
  • Loading branch information
iamleot and ChristopherHX authored Jan 8, 2024
1 parent 96d6cf8 commit adbe229
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pkg/container/docker_auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_build.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_cli.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

// This file is exact copy of https://github.com/docker/cli/blob/9ac8584acfd501c3f4da0e845e3a40ed15c85041/cli/command/container/opts.go
// appended with license information.
Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_images.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_logger.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_network.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_pull.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_run.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_stub.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build WITHOUT_DOCKER || !(linux || darwin || windows)
//go:build WITHOUT_DOCKER || !(linux || darwin || windows || netbsd)

package container

Expand Down
2 changes: 1 addition & 1 deletion pkg/container/docker_volume.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows || netbsd))

package container

Expand Down

0 comments on commit adbe229

Please sign in to comment.