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

use distroless.dev/static base image #1648

Merged
merged 2 commits into from
Aug 10, 2022
Merged

use distroless.dev/static base image #1648

merged 2 commits into from
Aug 10, 2022

Conversation

kirbyquerby
Copy link
Contributor

@kirbyquerby kirbyquerby commented Aug 4, 2022

This change is a redo of #1628 with fixes for the failed tests in #1625 . Specifically, the hermes container still runs as root, so commands need to be sent to it as root rather than nonroot.

Updates #1621

/cc @okwme @odeke-em

@codecov
Copy link

codecov bot commented Aug 5, 2022

Codecov Report

Merging #1648 (9870ca4) into main (b021d36) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1648   +/-   ##
=======================================
  Coverage   47.88%   47.88%           
=======================================
  Files          10       10           
  Lines        1489     1489           
=======================================
  Hits          713      713           
  Misses        755      755           
  Partials       21       21           

@okwme
Copy link
Contributor

okwme commented Aug 5, 2022

thanks @kirbyquerby !
could you check the linting errors?

@kirbyquerby
Copy link
Contributor Author

The lint errors were in files I didn't touch :'(
I've rebased on the latest main, which should fix things as the lint errors appear to have been fixed in #1651

@mmulji-ic
Copy link
Contributor

Thanks @kirbyquerby @odeke-em

@mmulji-ic mmulji-ic merged commit e011a10 into cosmos:main Aug 10, 2022
mergify bot pushed a commit that referenced this pull request Aug 10, 2022
* closes #1621

* run hermes commands as root

(cherry picked from commit e011a10)

# Conflicts:
#	Dockerfile
#	tests/e2e/e2e_test.go
#	tests/e2e/e2e_util_test.go
@odeke-em odeke-em deleted the asdf branch August 10, 2022 08:39
mmulji-ic added a commit that referenced this pull request Oct 5, 2022
* use distroless.dev/static base image (#1648)

* closes #1621

* run hermes commands as root

(cherry picked from commit e011a10)

# Conflicts:
#	Dockerfile
#	tests/e2e/e2e_test.go
#	tests/e2e/e2e_util_test.go

* Fix merge conflicts

* Set the version of Hermes to 0.12.0

* Resolved conflict with codeowners

Co-authored-by: Nathan Dias <kirbyquerby@users.noreply.github.com>
Co-authored-by: Milan Mulji <98309852+mmulji-ic@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants