Docker image: Add more opencontainers labels (incl. version)

This commit is contained in:
Michael Frister 2019-11-18 10:20:20 +01:00
parent be5349c05a
commit dea9c405e5
2 changed files with 6 additions and 0 deletions

View file

@ -117,6 +117,7 @@ container: clean-container .container-$(ARCH)
cp -RP ./* $(TEMP_DIR)
$(SED_I) "s|BASEIMAGE|$(BASEIMAGE)|g" $(DOCKERFILE)
$(SED_I) "s|QEMUARCH|$(QEMUARCH)|g" $(DOCKERFILE)
$(SED_I) "s|VERSION|$(TAG)|g" $(DOCKERFILE)
ifeq ($(ARCH),amd64)
# When building "normally" for amd64, remove the whole line, it has no part in the amd64 image