Rm build tags from main pkg

This was added by commit 5aa82c950 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 <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2021-08-27 08:40:28 -07:00
parent 9ff64c3d97
commit c5b0be78e8
17 changed files with 2 additions and 35 deletions
+2 -3
View File
@@ -8,7 +8,7 @@
## Introduction ## Introduction
`runc` is a CLI tool for spawning and running containers according to the OCI specification. `runc` is a CLI tool for spawning and running containers on Linux according to the OCI specification.
## Releases ## Releases
@@ -23,8 +23,7 @@ A third party security audit was performed by Cure53, you can see the full repor
## Building ## Building
`runc` currently supports the Linux platform with various architecture support. `runc` only supports Linux. It must be built with Go version 1.15 or higher.
It must be built with Go version 1.15 or higher.
In order to enable seccomp support you will need to install `libseccomp` on your platform. In order to enable seccomp support you will need to install `libseccomp` on your platform.
> e.g. `libseccomp-devel` for CentOS, or `libseccomp-dev` for Ubuntu > e.g. `libseccomp-devel` for CentOS, or `libseccomp-dev` for Ubuntu
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build !solaris
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (
-2
View File
@@ -1,5 +1,3 @@
// +build linux
package main package main
import ( import (