Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Slim down docker image size #4

Closed
ericbottard opened this issue Mar 16, 2018 · 1 comment
Closed

Slim down docker image size #4

ericbottard opened this issue Mar 16, 2018 · 1 comment

Comments

@ericbottard
Copy link
Contributor

Currently, the invoker image is built FROM golang:x, as attempts to use slimmer images (like alpine) failed due to go-plugin specific issues. Investigate

@dturanski
Copy link

I did some investigation. Tried building invoker as a statically linked executable (and the function with and without static linking) to run on alpine. e.g. CGO_ENABLED=0 go build -a -o /riff-entrypoint cmd/${COMPONENT}.go Ran into this golang/go#19569. Same result plugin: not implemented.

@dturanski dturanski mentioned this issue Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants