Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

goaci flannel does not work #15

@alban

Description

@alban
$ bin/goaci github.com/coreos/flannel
GOPATH env var is ignored, use --go-path="$GOPATH" option instead
/tmp/goaci335005087/src/github.com/coreos/flannel/main.go:21:2: C source files not allowed when not using cgo: proxy.c
error running go: exit status 1

To compile it statically, I used:
endocode/flannel@fa44d5c
endocode/flannel@0bca2d2
(initially tracked in rkt/rkt#389)

The .aci produced was enough to start flannel in a container and create the flannel0 network interface.

However, "flannel --ip-masq" also execs iptables with exec.Command("iptables" ...
So it needs the iptables binary in the .aci to make use of the --ip-masq option (it is used in CoreOS).

Can goaci build ACIs with dependencies? Maybe the flannel aci could depend on an iptables aci?

/cc @eyakubovich

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions