Skip to content

Commit c5b0be7

Browse files
committed
Rm build tags from main pkg
This was added by commit 5aa82c9 back in the day when we thought runc is going to be cross-platform. It's very clear now it's Linux-only package. While at it, further clarify it in README that we're Linux only. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 9ff64c3 commit c5b0be7

File tree

17 files changed

+2
-35
lines changed

17 files changed

+2
-35
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Introduction
1010

11-
`runc` is a CLI tool for spawning and running containers according to the OCI specification.
11+
`runc` is a CLI tool for spawning and running containers on Linux according to the OCI specification.
1212

1313
## Releases
1414

@@ -23,8 +23,7 @@ A third party security audit was performed by Cure53, you can see the full repor
2323

2424
## Building
2525

26-
`runc` currently supports the Linux platform with various architecture support.
27-
It must be built with Go version 1.15 or higher.
26+
`runc` only supports Linux. It must be built with Go version 1.15 or higher.
2827

2928
In order to enable seccomp support you will need to install `libseccomp` on your platform.
3029
> e.g. `libseccomp-devel` for CentOS, or `libseccomp-dev` for Ubuntu

checkpoint.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

delete.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build !solaris
2-
31
package main
42

53
import (

events.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

exec.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

kill.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

list.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

notify_socket.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

pause.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

ps.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
package main
42

53
import (

0 commit comments

Comments
 (0)