Skip to content

Commit 45fc8ea

Browse files
Add: ARM Docker image for fluentd (#1184)
* wip * Add csi-s3 and have portainer use it * Change request @Hrytsuk 1GB max portainer volume size * Arch Linux Certificates Customization * Fix pgsql exporter failure * [Kubernetes] Introduce on-prem persistent Storage (Longhorn) 🎉 (#979) * Introduce longhorn chart * Further longhorn configuration * Longhorn: further settings configuration * Fix longhorn configuration bugs Extra: introduce longhorn pv vales for portainer * Add comment for deletion longhorn * Further longhorn configuration * Add README.md for Longhorn wit FAQ * Update Longhorn readme * Update readme * Futher LH configuration * Update LH's Readme * Update Longhorn Readme * Improve LH's Readme * LH: Reduce reserved default disk space to 5% Since we use a dedicated disk for LH, we can go ahead with 5% * Use values to set Longhorn storage class * Update LH's Readme * LH Readme: add requirements reference * PR Review: bring back portainer s3 pv * LH: decrease portinaer volume size * Experimental: Try to add tracing to simcore-traefik on master * Fixes ITISFoundation/osparc-simcore#7363 * Arch Linux Certificates Customization - 2 * Make fluentd build on arm * Make fluentd build on arm - 2 --------- Co-authored-by: Dustin Kaiser <[email protected]> Co-authored-by: YH <[email protected]>
1 parent abc22cd commit 45fc8ea

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

services/logging/fluentd/Dockerfile

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
FROM fluent/fluentd:v1.16.9-1.0
1+
FROM fluent/fluentd:v1.16.9-debian-1.0
22

33
USER root
44

5-
# Install dependencies and plugins
6-
RUN apk add --no-cache --update --virtual .build-deps \
7-
sudo build-base ruby-dev curl \
8-
&& sudo gem install fluent-plugin-grafana-loki \
9-
&& sudo gem install fluent-plugin-gelf-best \
10-
&& sudo gem install fluent-plugin-prometheus \
11-
&& apk del .build-deps \
12-
&& apk add --no-cache curl jq \
13-
&& rm -rf /var/cache/apk/* \
5+
# Install dependencies and plugins using apt instead of apk
6+
RUN apt-get update && apt-get install -y --no-install-recommends \
7+
build-essential \
8+
ruby-dev \
9+
curl \
10+
jq \
11+
&& gem install fluent-plugin-grafana-loki \
12+
&& gem install fluent-plugin-gelf-best \
13+
&& gem install fluent-plugin-prometheus \
14+
&& apt-get purge -y --auto-remove build-essential ruby-dev \
15+
&& rm -rf /var/lib/apt/lists/* \
1416
&& rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem
1517

1618
# Create directories with appropriate permissions

services/logging/fluentd/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
There is currently no CD for building the fluentd image.
22
It has to be built and pushed manually:
33

4-
Run e.g. `docker build -t itisfoundation/fluentd:v1.16.9-1.0 .` in this folder, then push the image to dockerhub.
4+
Run e.g. `docker buildx build --platform linux/amd64,linux/arm64 --push -t itisfoundation/fluentd:v1.16.9-1.0 .` in this folder, then push the image to dockerhub.
5+
Keep in mind that some ops machines run on ARM, so we need an ARM image as well.

0 commit comments

Comments
 (0)