Skip to content

Commit

Permalink
Fix mac build.
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwilliams committed Aug 4, 2021
1 parent ae25797 commit 86465f0
Showing 1 changed file with 0 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,6 @@ import (
repb "github.com/buildbuddy-io/buildbuddy/proto/remote_execution"
)

type ContainerOpts struct {
// The OCI container image. ex "alpine:latest".
ContainerImage string

// The action directory with inputs / outputs.
ActionWorkingDirectory string

// The number of CPUs to allocate to this VM.
NumCPUs int64

// The amount of RAM, in MB, to allocate to this VM.
MemSizeMB int64

// Whether or not to enable networking.
EnableNetworking bool

// Optional flags -- these will default to sane values.
// They are here primarily for debugging and running
// VMs outside of the normal action-execution framework.

// DebugMode runs init in debugmode and enables stdin/stdout so
// that machines can be logged into via the console.
DebugMode bool

// ForceVMIdx forces a machine to use a particular vm index,
// allowing for multiple locally-started VMs to avoid using
// conflicting network interfaces.
ForceVMIdx int

// The root directory to store all files in. This needs to be
// short, less than 38 characters. If unset, /tmp will be used.
JailerRoot string
}

type firecrackerContainer struct{}

func NewContainer(env environment.Env, opts ContainerOpts) (*firecrackerContainer, error) {
Expand Down

0 comments on commit 86465f0

Please sign in to comment.