File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -148,27 +148,23 @@ apt-get -y update
148148$INSTALL_CMD_PREFIX  apt-get -y $APT_PARAMETERS  install $INSTALL_PACKAGE_NAME$APT_VERSION 
149149SCRIPT 
150150    ;;
151-     opensuse* |sles)
152-         SUSE_OS=" opensuse" 
153-         case  " ${OS} " in 
154-           sles|suse) SUSE_OS=" sles" 
155-         esac 
156-         SUSE_VER=" ${VERSION_ID:- } " 
157- 
151+     opensuse-leap|sles)
158152        $SUDO  sh << SCRIPT 
159153rpm --import $RELEASE_KEY  
160154cat << EOF > /etc/zypp/repos.d/fluent-bit.repo 
161155[fluent-bit] 
162156name = Fluent Bit 
163- baseurl = $RELEASE_URL /$SUSE_OS / $SUSE_VER  
157+ baseurl = $RELEASE_URL /suse/ \$ releasever  
164158gpgcheck=1 
165159repo_gpgcheck=1 
166160gpgkey=$RELEASE_KEY  
167161enabled=1 
162+ type=rpm-md 
163+ autorefresh=1 
168164EOF 
169165cat /etc/zypp/repos.d/fluent-bit.repo 
170- zypper --non-interactive refresh 
171- $INSTALL_CMD_PREFIX  zypper --non-interactive $ZYPPER_PARAMETERS  install $INSTALL_PACKAGE_NAME$ZYPPER_VERSION 
166+ zypper --non-interactive --gpg-auto-import-keys  refresh 
167+ $INSTALL_CMD_PREFIX  zypper --non-interactive --gpg-auto-import-keys  $ZYPPER_PARAMETERS  install $INSTALL_PACKAGE_NAME$ZYPPER_VERSION 
172168SCRIPT 
173169    ;;
174170    * )
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ The [`distros`](./distros/) directory contains OCI container definitions used to
3939|  Debian        |    10                      |  arm64v8 |  debian/buster.arm64v8    | 
4040|  openSUSE      |    15.6                    |  x86_64  |  opensuse/15.6            | 
4141|  openSUSE      |    15.6                    |  arm64v8 |  opensuse/15.6.arm64v8    | 
42- |  ** SLES**       |    15.7                    |  x86_64  |  sles/15.7                | 
43- |  ** SLES**       |    15.7                    |  arm64v8 |  sles/15.7.arm64v8        | 
42+ |  SLES           |    15.7                    |  x86_64  |  sles/15.7                | 
43+ |  SLES           |    15.7                    |  arm64v8 |  sles/15.7.arm64v8        | 
4444|  Ubuntu        |    24.04 / Noble Numbat    |  x86_64  |  ubuntu/24.04             | 
4545|  Ubuntu        |    24.04 / Noble Numbat    |  arm64v8 |  ubuntu/24.04.arm64v8     | 
4646|  Ubuntu        |    22.04 / Jammy Jellyfish |  x86_64  |  ubuntu/22.04             | 
Original file line number Diff line number Diff line change 136136        -e FLUENT_BIT_INSTALL_ZYPPER_PARAMETERS=" ${FLUENT_BIT_INSTALL_ZYPPER_PARAMETERS:- } " 
137137        $EXTRA_MOUNTS  \
138138        " $IMAGE " 
139-         sh -c " zypper --non-interactive refresh && zypper --non-interactive install gpg curl; $INSTALL_CMD  && /opt/fluent-bit/bin/fluent-bit --version" |  tee " $LOG_FILE " 
139+         sh -c " zypper --non-interactive --gpg-auto-import-keys refresh \ 
140+                zypper --non-interactive --gpg-auto-import-keys install gpg curl; \  
141+                $INSTALL_CMD  /opt/fluent-bit/bin/fluent-bit --version"   |  tee " $LOG_FILE " 
140142    check_version " $LOG_FILE " 
141143    rm -f " $LOG_FILE " 
142144done 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments