Skip to content

Feature: Add support for building release tarball with Dockerfile stages#1292

Merged
glensc merged 20 commits intoeventum:masterfrom
glensc:docker-release
Dec 13, 2021
Merged

Feature: Add support for building release tarball with Dockerfile stages#1292
glensc merged 20 commits intoeventum:masterfrom
glensc:docker-release

Conversation

@glensc
Copy link
Copy Markdown
Member

@glensc glensc commented Dec 13, 2021

This utilizes stages for build, thus allowing parallel execution and cache on rebuilds

APP_VERSION=$(git describe --tags --match=v*)
docker build . -f bin/releng/Dockerfile --build-arg=APP_VERSION=${APP_VERSION#v} --target=out -o out --progress=plain
$ ls -lh out/*
-rw-r--r-- 1 root root 49M Dec 13 04:09 out/eventum-3.10.9-74-ge4a6118f8.tar

@glensc glensc self-assigned this Dec 13, 2021
@glensc glensc force-pushed the docker-release branch 4 times, most recently from 6447bdd to 536421d Compare December 13, 2021 02:46
@glensc glensc deleted the docker-release branch December 29, 2022 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant