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

build(docker): Move to Alpine images for Dockerfile #356

Merged
merged 49 commits into from
Aug 12, 2022
Merged

Conversation

lampkin-diet
Copy link
Contributor

No description provided.

@ankurdotb
Copy link
Contributor

Task linked: DEV-1606 Automated release on cheqd-node

@lampkin-diet
Copy link
Contributor Author

Sorry, but the main commit was pushed directly to main branch in commit:
ed1f366

@ankurdotb ankurdotb changed the title chore: Move to alpine images for dockerfiles build(docker): Move to Alpine images for Dockerfile Aug 11, 2022
@ankurdotb ankurdotb merged commit 53bd95b into main Aug 12, 2022
@ankurdotb ankurdotb deleted the DEV-1606 branch August 12, 2022 14:22
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
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants