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
148
148
$INSTALL_CMD_PREFIX apt-get -y $APT_PARAMETERS install $INSTALL_PACKAGE_NAME$APT_VERSION
149
149
SCRIPT
150
150
;;
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)
158
152
$SUDO sh << SCRIPT
159
153
rpm --import $RELEASE_KEY
160
154
cat << EOF > /etc/zypp/repos.d/fluent-bit.repo
161
155
[fluent-bit]
162
156
name = Fluent Bit
163
- baseurl = $RELEASE_URL /$SUSE_OS / $SUSE_VER
157
+ baseurl = $RELEASE_URL /suse/ \$ releasever
164
158
gpgcheck=1
165
159
repo_gpgcheck=1
166
160
gpgkey=$RELEASE_KEY
167
161
enabled=1
162
+ type=rpm-md
163
+ autorefresh=1
168
164
EOF
169
165
cat /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
172
168
SCRIPT
173
169
;;
174
170
* )
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ The [`distros`](./distros/) directory contains OCI container definitions used to
39
39
| Debian | 10 | arm64v8 | debian/buster.arm64v8 |
40
40
| openSUSE | 15.6 | x86_64 | opensuse/15.6 |
41
41
| 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 |
44
44
| Ubuntu | 24.04 / Noble Numbat | x86_64 | ubuntu/24.04 |
45
45
| Ubuntu | 24.04 / Noble Numbat | arm64v8 | ubuntu/24.04.arm64v8 |
46
46
| Ubuntu | 22.04 / Jammy Jellyfish | x86_64 | ubuntu/22.04 |
Original file line number Diff line number Diff line change 136
136
-e FLUENT_BIT_INSTALL_ZYPPER_PARAMETERS=" ${FLUENT_BIT_INSTALL_ZYPPER_PARAMETERS:- } " \
137
137
$EXTRA_MOUNTS \
138
138
" $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 "
140
142
check_version " $LOG_FILE "
141
143
rm -f " $LOG_FILE "
142
144
done
You can’t perform that action at this time.
0 commit comments