okay, so this compose override seems to work for me without any additional hacks to show version:
# docker-compose.override.yml
version: '3'
services:
app:
image: cthulhoo/ttrss-fpm-pgsql-static:latest
build:
dockerfile: .docker/app/Dockerfile
context: https://git.tt-rss.org/fox/tt-rss.git
args:
BUILDKIT_CONTEXT_KEEP_GIT_DIR: 1
web-nginx:
image: cthulhoo/ttrss-web-nginx:latest
build:
dockerfile: .docker/web-nginx/Dockerfile
context: https://git.tt-rss.org/fox/tt-rss.git
this probably won’t work if you’re not using BuildKit (ancient docker? i dunno).