containers: re-use release.sh for building the ws-container

In a future commit we want to add labels to our ws-container, this
becomes easier when if we have a centralised location where we build the
cockpit-ws image.
This commit is contained in:
Jelle van der Waa
2026-02-18 11:36:56 +01:00
committed by Jelle van der Waa
parent 2008c676c1
commit bb2daaae60
+1 -1
View File
@@ -5,7 +5,7 @@ CLEANFILES += $(WS_DIR)/rpms $(WS_DIR)/libexec
ws-container:
rm -rf $(WS_DIR)/rpms
if [ -e cockpit-bridge-*.rpm ]; then mkdir -p $(WS_DIR)/rpms; cp *.rpm $(WS_DIR)/rpms; fi
podman build -t quay.io/cockpit/ws $(WS_DIR)
$(WS_DIR)/release.sh
# Developer target for quick iteration. Your have to build your local tree on
# the same OS than the container image, and with the correct --prefix=/usr