Skip to content

Commit

Permalink
Dockerfile: Add filesystems:ceph:s3gw repomd.xml
Browse files Browse the repository at this point in the history
Without this, the subsequent `zypper install ; zypper ref` is
effectively a no-op if docker build has already been run and
cached that layer, which means we don't pick up updated package
versions.

Signed-off-by: Tim Serong <[email protected]>
  • Loading branch information
tserong committed Oct 4, 2023
1 parent 6ff684d commit 2e05ab8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM opensuse/leap:15.4 as s3gw-base

# This makes sure the Docker cache is invalidated
# if packages in the s3gw repo on OBS have changed
ADD https://download.opensuse.org/repositories/filesystems:/ceph:/s3gw/15.4/repodata/repomd.xml /tmp/
RUN zypper ar \
https://download.opensuse.org/repositories/filesystems:/ceph:/s3gw/15.4/ \
s3gw-deps \
Expand Down

0 comments on commit 2e05ab8

Please sign in to comment.