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>
(cherry picked from commit cdb3017)
  • Loading branch information
c3y1huang authored and derekbit committed Sep 6, 2024
1 parent 1125b70 commit cb4cf11
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 @@ -50,6 +50,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 cb4cf11

Please sign in to comment.