Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builder/improvements to build process #2479

Merged
merged 4 commits into from
May 17, 2023

Conversation

rjonczy
Copy link
Contributor

@rjonczy rjonczy commented May 16, 2023

Purpose

  • Improve build process in general (decrease build time)
  • fix DLC

How does the solution address the problem

Split Dockerfile into 2:

  • Dockerfile - base Dockerfile for taraxa-node, 2 stage. First stage using taraxa/taraxa-builder image to compile and build taraxa-node project and Second stage is a runtime image for taraxa-node binaries (copied into this image from first stage)
  • builder.Dockerfile - used to builder a builder image, image with all dependencies to build taraxa-node

New workflows for building taraxa-builder:

  • build-builder-docker-image: triggered for branches: ^builder/*, ^chore/builder-, ^fix/builder-, ^feature/builder-
  • release-builder-docker-image: triggered for tags: ^builder-vX.X.X

Changes made

  • improvement to build process
  • restructure

@rjonczy rjonczy requested review from rattrap and a team May 16, 2023 13:39
@rjonczy rjonczy merged commit 057374c into develop May 17, 2023
@rjonczy rjonczy deleted the builder/improvements-to-build-process branch May 17, 2023 09:53
@taraxadeploy
Copy link
Collaborator

prnet cleaned-up successfully

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.

4 participants