-
Notifications
You must be signed in to change notification settings - Fork 14
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
build: rearrange Dockerfile and Makefile commands #237
Conversation
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
- remove `./networks/local/finschianode/Dockerfile` - move from `./builders/Dockerfile.static` to `networks/local/finschianode/Dockerfile` - remove `./networks/Makefile` - remove `./contrib/Dockerfile.test` - remove unused commands in Makefile - `build-docker-finschianode` - `test-docker` - `test-docker-push` Signed-off-by: zemyblue <zemyblue@gmail.com>
- build-contract-tests-hooks - include contrib/devtools/Makefile Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found logic on db variants remaining intact. Also, there are redundant duplicates in Makefile, e.g. build-reproducible-amd64 and its arm64 variant. One can use an arch variable, because the structure resembles.
Signed-off-by: zemyblue <zemyblue@gmail.com>
And change the property of Makefile from `ARCH` to `TARGET_ARCH`, and add new `ARCH` as new meaning Signed-off-by: zemyblue <zemyblue@gmail.com>
I combined |
…nput Signed-off-by: zemyblue <zemyblue@gmail.com>
Description
closes: #227
Now there are only two
Dockerfile
in this repository.Dockerfile
in root dirnetworks/local/finschianode/Dockerfile
for localnet multi-node testing.Changes
builders/Dockerfile.static_centos7
contrib/Dockerfile.test
contrib/devtools/Makefile
networks/local/Makefile
builders/Dockerfile.static
tonetworks/local/finschianode/Dockerfile
networks/local/finschianode/Dockerfile
s build-env to be the same as the defaultDockerfile
.contrib/devtools/Makefile
inMakefile
.Removed commands in
Makefile
build-release-bundle
: no used, because the build assets command is changed in feat: compile static binary as release assets and docker image #221.build-docker-finschianode
: no used.test-docker
: no usedtest-docker-push
: no usedbuild-contract-tests-hooks
: no usedbuild-reproducible-arm64
andbuild-reproducible-amd64
: => combined tobuild-reproducible
.Motivation and context
There are many unused commands in Makefile.
And there are many Dockerfiles, all with different base docker images and build steps. Unity is needed.
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.md