File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ RUN export GNUPGHOME="$(mktemp -d)" \
2828# install exact version of PS for repeatability
2929ENV PERCONA_VERSION=8.0.42-33.1.el9
3030
31+ # install exact version of Fluent Bit for repeatability
32+ ENV FLUENTBIT_VERSION=4.0.1-1
33+
3134# Add Fluent Bit repo
3235RUN printf "%s\n " \
3336 "[fluent-bit]" \
@@ -39,14 +42,27 @@ RUN printf "%s\n" \
3942 "enabled=1" \
4043 > /etc/yum.repos.d/fluent-bit.repo
4144
45+ # Install packages
4246# fluentbit does not have el8 repo and the doc suggests installing el7 rpm
4347RUN set -ex; \
44- microdnf install -y hostname postgresql-libs shadow-utils yum-utils fluent-bit logrotate make libpq procps-ng compat-openssl11 percona-mongodb-mongosh \
45- percona-xtradb-cluster-client-${PERCONA_VERSION} tar vim-minimal; \
48+ microdnf install -y \
49+ hostname \
50+ postgresql-libs \
51+ shadow-utils \
52+ yum-utils \
53+ fluent-bit-${FLUENTBIT_VERSION} \
54+ logrotate \
55+ make \
56+ libpq \
57+ procps-ng \
58+ compat-openssl11 \
59+ percona-mongodb-mongosh \
60+ percona-xtradb-cluster-client-${PERCONA_VERSION} \
61+ tar \
62+ vim-minimal; \
4663 curl -Lf https://github.com/michaloo/go-cron/releases/download/v0.0.2/go-cron.tar.gz -o /tmp/go-cron.tar.gz; \
4764 tar xvf /tmp/go-cron.tar.gz -C /usr/bin; \
48- rm -rf /var/cache
49-
65+ rm -rf /var/cache /tmp/go-cron.tar.gz
5066
5167RUN groupadd -g 1001 mysql
5268RUN useradd -u 1001 -r -g 1001 -s /sbin/nologin \
You can’t perform that action at this time.
0 commit comments