Skip to content

Modify Dockerfile to compile app and create bare container#2

Open
cwilkers wants to merge 1 commit intovishh:masterfrom
cwilkers:dockerbuild
Open

Modify Dockerfile to compile app and create bare container#2
cwilkers wants to merge 1 commit intovishh:masterfrom
cwilkers:dockerbuild

Conversation

@cwilkers
Copy link

Uses a temporary "builder" container based on golang:latest image to build binary, then
creates a scratch (empty) container to hold the statically linked binary.

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.

1 participant