-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fix: use golang:alpine as base and re-enable CGO for revad #1797
Conversation
…' image (cs3org#1766)" This partially reverts commit 07adb3f as there are a few issues when trying to run revad e.g. go-sqlite3 requires it: 2021-06-15 15:39:31.314 ERR go/src/github/cs3org/reva/cmd/revad/runtime/runtime.go:197 > error starting the http server error="http service dataprovider could not be started,: localfs: error initializing db: localfs: error preparing statement: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub" pid=1
Update changelog to reflect this
68d9799
to
5582b18
Compare
I got an error Ah wait that is the same error as in #1765. Does this PR aim to fix #1765, actually? |
@michielbdejong how were you starting the revad container? #1765 should have been fixed with #1766 for the reva cli client. This PR replaces
|
@SamuAlfageme thanks, I'll have a look! |
OK, it's working for me too now. I was getting that error because I was using ubuntu as the runtime image for revad. I switched to golang:alpine now and that works! All good! 👍 |
…1766) * Build static binaries for Docker, so that we can use the 'stratch' image. * add changelog entry
No description provided.