mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 22:24:03 +00:00
cf6de4b12d
First off, ceph is no longer using docker hub for the canonical image hosting. We have also been recommended to use ceph/ceph instead of ceph/daemon-base. Thus we switch to 'quay.io/ceph/ceph'. However, ceph/ceph doesn't use codenames for tags so we also have to use version number tags. These are set as build args now. To retain compatibility with the way we were working previously we have add a best-effort "assertion" to ensure the code name we provide matches with the codename embedded in the base image. While working on this I discovered that our previous build args were probably not working as intended, but only by accident. See: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact This is why we now name our build arg GO_CEPH_VERSION and it is located after the 'FROM' line. Signed-off-by: John Mulligan <jmulligan@redhat.com> |
||
---|---|---|
.. | ||
Dockerfile |