Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Wilcsinszky <[email protected]>
  • Loading branch information
pepov authored Jan 10, 2024
1 parent b8a6201 commit 42c0481
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions v1.16/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# https://github.com/SumoLogic/sumologic-kubernetes-fluentd/blob/main/alpine.Dockerfile
# TODO every time the base image is changed please make sure BASEIMAGEDEPS is updated (further down in this file)
FROM public.ecr.aws/sumologic/kubernetes-fluentd:latest-alpine@sha256:f5262f4c01b6464b6a352189b78cd80ead61a6c0177ec1ea869585998611623a AS sumo

# Adapted from https://github.com/SumoLogic/sumologic-kubernetes-fluentd/blob/main/alpine.Dockerfile#L102C1-L142C16
FROM ruby:3.3.0-alpine3.19 as base

ARG BUILD_DEPS=" \
Expand Down Expand Up @@ -28,13 +29,15 @@ RUN apk add --no-cache \
snappy \
&& apk add --no-cache $BUILD_DEPS \
&& echo 'gem: --no-document' >> /etc/gemrc \

# BASEIMAGEDEPS
# need to rebuild these gems to have the extensions installed
&& fluent-gem install \
bigdecimal:1.4.4 \
oj:3.15.0 \
google-protobuf:3.21.12 \
nio4r:2.6.0 \
snappy:0.3.0 \
snappy:0.4.0 \
# The only required fluentd dependency is the label router
# kubeclient install is upgrading the one from the base image
&& fluent-gem install specific_install -v 0.3.8 \
Expand Down

0 comments on commit 42c0481

Please sign in to comment.