-
Notifications
You must be signed in to change notification settings - Fork 43
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(docker): Move to Alpine images for Dockerfile #356
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task linked: DEV-1606 Automated release on cheqd-node |
Sorry, but the main commit was pushed directly to |
ankurdotb
changed the title
chore: Move to alpine images for dockerfiles
build(docker): Move to Alpine images for Dockerfile
Aug 11, 2022
* Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded`
ankurdotb
added a commit
that referenced
this pull request
Aug 12, 2022
commit 53bd95b Author: Andrew Nikitin <andrew.nikitin@cheqd.io> Date: Fri Aug 12 17:22:30 2022 +0300 build(docker): Move to Alpine images for Dockerfile (#356) * Get rid of .env varaiables * Add default vars for docker compose down * Get rid of debug * Create dependabot.yml * Deactivate test workflow * Update lint.yml * Rename regen references * Update Stage 1 build * Remove Cosmovisor stages * Remove unecessary Hadolint path * Move Dockerfile to top-level context * Update .Dockerignore * Change build folder * Remove unnecessary packages from Stage 1 * Update Makefile * Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded` * Switch release dispatch guard * Dockerfile back in docker folder * Delete .Dockerignore * Honestly, changing a filename to lowercase should be easier * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Delete cosmovisor.sh * Pick up Go version from go.mod * Moved unit tests to build job * Change to Docker Buildx * Disable release * Add dotenv linter * Update Makefile * Reinstate user permissions * Update docker-compose.env * Set latest recommended version * Set Docker image version * Update container.env * Added healthcheck * Entrypoint fix * Update Dockerfile * Change entrypoint copy order * Remove dockerignore for docker folder * Add protobuf generation to Docker job * Save Docker test image * Update test.yml * Reactivate test * Update Makefile * Change ldflag for name * Fixed incorrect folder move * Go mod tidy * Update dispatch.yml Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
ankurdotb
added a commit
that referenced
this pull request
Aug 12, 2022
commit 7f16d93 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 15:53:07 2022 +0100 ci(deps): Bump docker/login-action from 1 to 2 (#358) Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53bd95b Author: Andrew Nikitin <andrew.nikitin@cheqd.io> Date: Fri Aug 12 17:22:30 2022 +0300 build(docker): Move to Alpine images for Dockerfile (#356) * Get rid of .env varaiables * Add default vars for docker compose down * Get rid of debug * Create dependabot.yml * Deactivate test workflow * Update lint.yml * Rename regen references * Update Stage 1 build * Remove Cosmovisor stages * Remove unecessary Hadolint path * Move Dockerfile to top-level context * Update .Dockerignore * Change build folder * Remove unnecessary packages from Stage 1 * Update Makefile * Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded` * Switch release dispatch guard * Dockerfile back in docker folder * Delete .Dockerignore * Honestly, changing a filename to lowercase should be easier * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Delete cosmovisor.sh * Pick up Go version from go.mod * Moved unit tests to build job * Change to Docker Buildx * Disable release * Add dotenv linter * Update Makefile * Reinstate user permissions * Update docker-compose.env * Set latest recommended version * Set Docker image version * Update container.env * Added healthcheck * Entrypoint fix * Update Dockerfile * Change entrypoint copy order * Remove dockerignore for docker folder * Add protobuf generation to Docker job * Save Docker test image * Update test.yml * Reactivate test * Update Makefile * Change ldflag for name * Fixed incorrect folder move * Go mod tidy * Update dispatch.yml Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
ankurdotb
added a commit
that referenced
this pull request
Aug 12, 2022
commit 953837e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 16:33:38 2022 +0100 chore(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#361) * Bump github.com/spf13/cast from 1.4.1 to 1.5.0 Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.4.1 to 1.5.0. - [Release notes](https://github.com/spf13/cast/releases) - [Commits](spf13/cast@v1.4.1...v1.5.0) --- updated-dependencies: - dependency-name: github.com/spf13/cast dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Squashed commit of the following: commit 7f16d93 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 15:53:07 2022 +0100 ci(deps): Bump docker/login-action from 1 to 2 (#358) Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update go.sum Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com> commit 7f16d93 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 15:53:07 2022 +0100 ci(deps): Bump docker/login-action from 1 to 2 (#358) Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53bd95b Author: Andrew Nikitin <andrew.nikitin@cheqd.io> Date: Fri Aug 12 17:22:30 2022 +0300 build(docker): Move to Alpine images for Dockerfile (#356) * Get rid of .env varaiables * Add default vars for docker compose down * Get rid of debug * Create dependabot.yml * Deactivate test workflow * Update lint.yml * Rename regen references * Update Stage 1 build * Remove Cosmovisor stages * Remove unecessary Hadolint path * Move Dockerfile to top-level context * Update .Dockerignore * Change build folder * Remove unnecessary packages from Stage 1 * Update Makefile * Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded` * Switch release dispatch guard * Dockerfile back in docker folder * Delete .Dockerignore * Honestly, changing a filename to lowercase should be easier * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Delete cosmovisor.sh * Pick up Go version from go.mod * Moved unit tests to build job * Change to Docker Buildx * Disable release * Add dotenv linter * Update Makefile * Reinstate user permissions * Update docker-compose.env * Set latest recommended version * Set Docker image version * Update container.env * Added healthcheck * Entrypoint fix * Update Dockerfile * Change entrypoint copy order * Remove dockerignore for docker folder * Add protobuf generation to Docker job * Save Docker test image * Update test.yml * Reactivate test * Update Makefile * Change ldflag for name * Fixed incorrect folder move * Go mod tidy * Update dispatch.yml Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
ankurdotb
added a commit
that referenced
this pull request
Aug 12, 2022
commit 53bd95b Author: Andrew Nikitin <andrew.nikitin@cheqd.io> Date: Fri Aug 12 17:22:30 2022 +0300 build(docker): Move to Alpine images for Dockerfile (#356) * Get rid of .env varaiables * Add default vars for docker compose down * Get rid of debug * Create dependabot.yml * Deactivate test workflow * Update lint.yml * Rename regen references * Update Stage 1 build * Remove Cosmovisor stages * Remove unecessary Hadolint path * Move Dockerfile to top-level context * Update .Dockerignore * Change build folder * Remove unnecessary packages from Stage 1 * Update Makefile * Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded` * Switch release dispatch guard * Dockerfile back in docker folder * Delete .Dockerignore * Honestly, changing a filename to lowercase should be easier * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Delete cosmovisor.sh * Pick up Go version from go.mod * Moved unit tests to build job * Change to Docker Buildx * Disable release * Add dotenv linter * Update Makefile * Reinstate user permissions * Update docker-compose.env * Set latest recommended version * Set Docker image version * Update container.env * Added healthcheck * Entrypoint fix * Update Dockerfile * Change entrypoint copy order * Remove dockerignore for docker folder * Add protobuf generation to Docker job * Save Docker test image * Update test.yml * Reactivate test * Update Makefile * Change ldflag for name * Fixed incorrect folder move * Go mod tidy * Update dispatch.yml Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
ankurdotb
added a commit
that referenced
this pull request
Aug 12, 2022
commit 953837e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 16:33:38 2022 +0100 chore(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#361) * Bump github.com/spf13/cast from 1.4.1 to 1.5.0 Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.4.1 to 1.5.0. - [Release notes](https://github.com/spf13/cast/releases) - [Commits](spf13/cast@v1.4.1...v1.5.0) --- updated-dependencies: - dependency-name: github.com/spf13/cast dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Squashed commit of the following: commit 7f16d93 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 15:53:07 2022 +0100 ci(deps): Bump docker/login-action from 1 to 2 (#358) Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update go.sum Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com> commit 7f16d93 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Aug 12 15:53:07 2022 +0100 ci(deps): Bump docker/login-action from 1 to 2 (#358) Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53bd95b Author: Andrew Nikitin <andrew.nikitin@cheqd.io> Date: Fri Aug 12 17:22:30 2022 +0300 build(docker): Move to Alpine images for Dockerfile (#356) * Get rid of .env varaiables * Add default vars for docker compose down * Get rid of debug * Create dependabot.yml * Deactivate test workflow * Update lint.yml * Rename regen references * Update Stage 1 build * Remove Cosmovisor stages * Remove unecessary Hadolint path * Move Dockerfile to top-level context * Update .Dockerignore * Change build folder * Remove unnecessary packages from Stage 1 * Update Makefile * Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded` * Switch release dispatch guard * Dockerfile back in docker folder * Delete .Dockerignore * Honestly, changing a filename to lowercase should be easier * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Delete cosmovisor.sh * Pick up Go version from go.mod * Moved unit tests to build job * Change to Docker Buildx * Disable release * Add dotenv linter * Update Makefile * Reinstate user permissions * Update docker-compose.env * Set latest recommended version * Set Docker image version * Update container.env * Added healthcheck * Entrypoint fix * Update Dockerfile * Change entrypoint copy order * Remove dockerignore for docker folder * Add protobuf generation to Docker job * Save Docker test image * Update test.yml * Reactivate test * Update Makefile * Change ldflag for name * Fixed incorrect folder move * Go mod tidy * Update dispatch.yml Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.