5214459ffb
## Issue being fixed or feature implemented Automation in private dashevo GitHub was failing due to the branch trying to be built not having the automation be the newer tagged based system. as such, if you simply tag a commit from the dashpay repo and try to build it using automation, the build would fail. This should resolve the issue. Recommended to BP so that we don't have this issue when building v19.x branch builds ## What was done? ## How Has This Been Tested? Creating a docker image should now be as simple pushing a branch and tag to dashevo/dash; start the automation on branch develop with tag previously specified ## Breaking Changes ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation **For repository code-owners and collaborators only** - [x] I have assigned this pull request to a milestone |
||
---|---|---|
.. | ||
ci | ||
deploy | ||
develop | ||
README.md |
Containers
This directory contains configuration files for containerization utilities.
Currently two Docker containers exist, ci
defines how Dash's GitLab CI container is built and the dev
builds on top of the ci
to provide a containerized development environment that is as close as possible to CI for contributors!
Usage Guide
We utilise edrevo's dockerfile-plus, a syntax extension that leverages Docker BuildKit to reduce the amount of repetitive code.
As BuildKit is opt-in within many currently supported versions of Docker (as of this writing), you need to
set the following environment variables before continuing. While not needed after the initial docker-compose build
(barring updates to the Dockerfile
), we recommend placing this in your ~/.bash_profile
/~/.zshrc
or equivalent
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
After that, it's simply a matter of building and running your own development container. You can use extensions for your IDE like Visual Studio Code's Remote Containers to run terminal commands from inside the terminal and build Dash Core.
cd contrib/containers/develop
docker-compose build
docker-compose run container