diff --git a/v1.16/Dockerfile b/v1.16/Dockerfile index 1509650..7f14dd1 100644 --- a/v1.16/Dockerfile +++ b/v1.16/Dockerfile @@ -1,6 +1,7 @@ -FROM public.ecr.aws/sumologic/kubernetes-fluentd:latest-alpine@sha256:b44e3526ae59b558576de5695aa5d6b1bdd4e0a080372f0f25d77a4d2092a476 AS sumo +# 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=" \ @@ -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 \