Getting ctr closer to compiling on Windows
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
8d2051232a
commit
d4ca79c978
18 changed files with 115 additions and 83 deletions
9
specs/spec_linux.go
Normal file
9
specs/spec_linux.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package specs
|
||||
|
||||
import ocs "github.com/opencontainers/specs"
|
||||
|
||||
type (
|
||||
PlatformSpec ocs.LinuxSpec
|
||||
ProcessSpec ocs.Process
|
||||
Spec ocs.Spec
|
||||
)
|
|
@ -1,5 +1,13 @@
|
|||
package specs
|
||||
|
||||
// Temporary Windows version of the spec in lieu of opencontainers/specs having
|
||||
// Windows support currently.
|
||||
|
||||
type (
|
||||
PlatformSpec WindowsSpec
|
||||
ProcessSpec Process
|
||||
)
|
||||
|
||||
// This is a temporary module in lieu of opencontainers/specs being compatible
|
||||
// currently on Windows.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
// +build !windows
|
||||
|
||||
package specs
|
Loading…
Add table
Add a link
Reference in a new issue