Skip to content

Commit

Permalink
build(image): always update system package
Browse files Browse the repository at this point in the history
longhorn/longhorn-8722
longhorn/longhorn-8721

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and derekbit committed Sep 6, 2024
1 parent f894728 commit cdb3017
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ RUN if [ "$TARGETPLATFORM" != "linux/amd64" ] && [ "$TARGETPLATFORM" != "linux/a
fi
ENV ARCH ${TARGETPLATFORM#linux/}

RUN zypper -n ref && \
zypper update -y

RUN zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/SLE_15/ snappy && \
zypper --gpg-auto-import-keys ref

Expand Down

0 comments on commit cdb3017

Please sign in to comment.