Skip to content

Conversation

rchamarthy
Copy link
Contributor

Signed-off-by: Ravi Chamarthy ravi@chamarthy.dev

Signed-off-by: Ravi Chamarthy <ravi@chamarthy.dev>
Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rchamarthy rchamarthy merged commit a8c3414 into project-stacker:main Oct 26, 2022
@rchamarthy rchamarthy deleted the doc/build_code branch October 26, 2022 01:46
# Build a static go binary
go build -ldflags="-extldflags=-static" -o hello_stacker.static hello_stacker.go
cp hello_stacker.static /
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cp hello_stacker.static /tmp
tar -C /tmp -cv -f /contents.tar hello_stacker.static

from:
type: docker
url: docker://zothub.io/tools/busybox:stable
import:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get rid of everything starting line #48

cp hello_stacker.static /
hello:
from:
type: docker
Copy link
Contributor

@rchincha rchincha Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type: tar
url: stacker://build/contents.tar
full_command: /hello_stacker.static

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants