r3f commented on issue #1515:
URL: https://github.com/apache/answer/issues/1515#issuecomment-4186736664
You can verify the exact commit used in the official image with:
```bash
docker inspect apache/answer | grep -A5 "Labels"
```
Example output:
```json
"Labels": {
"maintainer": "[email protected]",
"org.opencontainers.image.created": "2026-02-03T02:01:49.647Z",
"org.opencontainers.image.description": "A Q&A platform software for
teams at any scales. Whether it's a community forum, help center, or knowledge
management platform, you can always count on Apache Answer.",
"org.opencontainers.image.licenses": "Apache-2.0",
"org.opencontainers.image.revision":
"a6bfd402b68091b4e84f98255c48caa9dbefe17d"
}
```
Then, when building with plugins, make sure you use the same revision:
```dockerfile
RUN
ANSWER_MODULE=github.com/apache/answer@a6bfd402b68091b4e84f98255c48caa9dbefe17d
answer build
```
Also ensure your build stage uses a compatible Go version, for example:
```dockerfile
FROM golang:1.24-alpine AS golang-builder
```
This keeps your custom build aligned with the official image and helps avoid
unexpected compatibility issues.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]