Skip to content

Commit

Permalink
Merge pull request #357 from fluent/v1.16.2
Browse files Browse the repository at this point in the history
v1.16.2
  • Loading branch information
ashie committed Jul 18, 2023
2 parents 38d22b4 + aa975ca commit 4db0a26
Show file tree
Hide file tree
Showing 15 changed files with 55 additions and 56 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.template.erb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN choco install -y ruby --version 3.1.3.1 --params "'/InstallDir:C:\ruby31'" \
RUN refreshenv \
&& ridk install 3 \
&& echo gem: --no-document >> C:\ProgramData\gemrc \
&& gem install oj -v 3.14.2 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install fluentd -v <%= fluentd_ver %> \
Expand Down Expand Up @@ -114,11 +114,11 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
<% end %>
&& echo 'gem: --no-document' >> /etc/gemrc \
&& gem install oj -v 3.14.3 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.1 \
&& gem install async-http -v 0.60.2 \
&& gem install fluentd -v <%= fluentd_ver %> \
<% if is_alpine %>
&& gem install bigdecimal -v 1.4.4 \
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@

IMAGE_NAME := fluent/fluentd
X86_IMAGES := \
v1.16/alpine:v1.16.1-1.0,v1.16-1,edge \
v1.16/debian:v1.16.1-debian-amd64-1.0,v1.16-debian-amd64-1,edge-debian-amd64
v1.16/alpine:v1.16.2-1.0,v1.16-1,edge \
v1.16/debian:v1.16.2-debian-amd64-1.0,v1.16-debian-amd64-1,edge-debian-amd64
# <Dockerfile>:<version>,<tag1>,<tag2>,...

# Define images for running on ARM platforms
ARM_IMAGES := \
v1.16/armhf/debian:v1.16.1-debian-armhf-1.0,v1.16-debian-armhf-1,edge-debian-armhf \
v1.16/armhf/debian:v1.16.2-debian-armhf-1.0,v1.16-debian-armhf-1,edge-debian-armhf \

# Define images for running on ARM64 platforms
ARM64_IMAGES := \
v1.16/arm64/debian:v1.16.1-debian-arm64-1.0,v1.16-debian-arm64-1,edge-debian-arm64 \
v1.16/arm64/debian:v1.16.2-debian-arm64-1.0,v1.16-debian-arm64-1,edge-debian-arm64 \

WINDOWS_IMAGES := \
v1.16/windows-ltsc2019:v1.16.1-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1 \
v1.16/windows-ltsc2022:v1.16.1-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1
v1.16/windows-ltsc2019:v1.16.2-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1 \
v1.16/windows-ltsc2022:v1.16.2-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1

ALL_IMAGES := $(X86_IMAGES) $(ARM_IMAGES) $(ARM64_IMAGES) $(WINDOWS_IMAGES)

Expand Down
37 changes: 18 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
Fluentd Docker Image
====================

[![Build Status](https://travis-ci.org/fluent/fluentd-docker-image.svg?branch=master)](https://travis-ci.org/fluent/fluentd-docker-image)
[![Build Status](https://github.com/fluent/fluentd-docker-image/actions/workflows/linux.yml/badge.svg?branch=master)](https://github.com/fluent/fluentd-docker-image/actions/workflows/linux.yml)
[![Docker Stars](https://img.shields.io/docker/stars/fluent/fluentd.svg)](https://hub.docker.com/r/fluent/fluentd)
[![Docker Pulls](https://img.shields.io/docker/pulls/fluent/fluentd.svg)](https://hub.docker.com/r/fluent/fluentd)
[![ImageLayers Size](https://img.shields.io/imagelayers/image-size/fluent/fluentd/latest.svg)](https://hub.docker.com/r/fluent/fluentd)
[![ImageLayers Layers](https://img.shields.io/imagelayers/layers/fluent/fluentd/latest.svg)](https://hub.docker.com/r/fluent/fluentd)

## What is Fluentd?

Expand All @@ -14,7 +12,7 @@ collection and consumption for a better use and understanding of data.

> [www.fluentd.org](https://www.fluentd.org/)
![Fluentd Logo](https://www.fluentd.org/assets/img/miscellany/fluentd-logo.png)
![Fluentd Logo](https://www.fluentd.org/images/miscellany/fluentd-logo.png)

## Supported tags and respective `Dockerfile` links

Expand All @@ -24,19 +22,19 @@ These tags have image version postfix. This updates many places so we need feedb

Current images use fluentd v1 series.

- `v1.16.1-1.0`, `v1.16-1`, `edge`
- `v1.16.2-1.0`, `v1.16-1`, `edge`
[(v1.16/alpine/Dockerfile)][fluentd-1-alpine]
- `v1.16.1-debian-1.0`, `v1.16-debian-1`, `edge-debian`
- `v1.16.2-debian-1.0`, `v1.16-debian-1`, `edge-debian`
(multiarch image for arm64(AArch64) and amd64(x86_64))
- `v1.16.1-debian-amd64-1.0`, `v1.16-debian-amd64-1`, `edge-debian-amd64`
- `v1.16.2-debian-amd64-1.0`, `v1.16-debian-amd64-1`, `edge-debian-amd64`
[(v1.16/debian/Dockerfile)][fluentd-1-debian]
- `v1.16.1-debian-arm64-1.0`, `v1.16-debian-arm64-1`, `edge-debian-arm64`
- `v1.16.2-debian-arm64-1.0`, `v1.16-debian-arm64-1`, `edge-debian-arm64`
[(v1.16/arm64/debian/Dockerfile)][fluentd-1-debian-arm64]
- `v1.16.1-debian-armhf-1.0`, `v1.16-debian-armhf-1`, `edge-debian-armhf`
- `v1.16.2-debian-armhf-1.0`, `v1.16-debian-armhf-1`, `edge-debian-armhf`
[(v1.16/armhf/debian/Dockerfile)][fluentd-1-debian-armhf]
- `v1.16.1-windows-ltsc2019-1.0`, `v1.16-windows-ltsc2019-1`
- `v1.16.2-windows-ltsc2019-1.0`, `v1.16-windows-ltsc2019-1`
[(v1.16/windows-ltsc2019/Dockerfile)][fluentd-1-ltsc2019-windows]
- `v1.16.1-windows-ltsc2022-1.0`, `v1.16-windows-ltsc2022-1`
- `v1.16.2-windows-ltsc2022-1.0`, `v1.16-windows-ltsc2022-1`
[(v1.16/windows-ltsc2022/Dockerfile)][fluentd-1-ltsc2022-windows]

### Old v1.4 images
Expand Down Expand Up @@ -85,7 +83,7 @@ This image is based on the popular [Alpine Linux project][1], available in

#### `edge`

Latest released version of Fluentd. This tag is mainly for testing.
Latest released version of Fluentd.

#### `vX.Y-A`

Expand All @@ -104,11 +102,6 @@ Concrete `vX.Y.Z` version of Fluentd. This tag is recommeded for the production

When fluentd version is updated, `A.B` is reset to `1.0`.

#### `onbuild` included tag

`onbuild` images are deprecated. Use non-`onbuild ` images instead to build your image.
New images, v1.5 or later, don't provide `onbuild` version.

#### `debian` included tag

The image based on [Debian Linux image][7].
Expand All @@ -132,7 +125,8 @@ These images/tags are kept for backward compatibility. No update anymore and don

#### `stable`, `latest`

Latest version of stable Fluentd branch (currently `v1.3-1`).
These tags are obsolete, already removed to avoid confusing.
Use `edge`, `vX.Y-A` or `vX.Y.Z-A.B` images instead.

#### `vX.Y`

Expand All @@ -142,7 +136,12 @@ Latest version of `vX.Y` Fluentd branch.

Concrete `vX.Y.Z` version of Fluentd.

#### `onbuild` included tag, `debian` included tag, `armhf` included tag
#### `onbuild` included tag

`onbuild` images are deprecated. Use non-`onbuild ` images instead to build your image.
New images, v1.5 or later, don't provide `onbuild` version.

#### `debian` included tag, `armhf` included tag

Same as current images.

Expand Down
8 changes: 4 additions & 4 deletions v1.16/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM alpine:3.17
LABEL maintainer "Fluentd developers <[email protected]>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.1"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.2"

# Do not split this into multiple RUN!
# Docker creates a layer for every RUN-Statement
Expand All @@ -17,12 +17,12 @@ RUN apk update \
build-base linux-headers \
ruby-dev gnupg \
&& echo 'gem: --no-document' >> /etc/gemrc \
&& gem install oj -v 3.14.3 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.1 \
&& gem install fluentd -v 1.16.1 \
&& gem install async-http -v 0.60.2 \
&& gem install fluentd -v 1.16.2 \
&& gem install bigdecimal -v 1.4.4 \
&& apk del .build-deps \
&& rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem /usr/lib/ruby/gems/3.*/gems/fluentd-*/test
Expand Down
2 changes: 1 addition & 1 deletion v1.16/alpine/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}

# Tag and push image for each additional tag
for tag in {v1.16.1-1.0,v1.16-1,edge}; do
for tag in {v1.16.2-1.0,v1.16-1,edge}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
8 changes: 4 additions & 4 deletions v1.16/arm64/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN curl -sL -o qemu-6.0.0.balena1-aarch64.tar.gz https://github.com/balena-io/q
FROM arm64v8/ruby:3.1-slim-bullseye
COPY --from=builder /go/qemu-aarch64-static /usr/bin/
LABEL maintainer "Fluentd developers <[email protected]>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.1"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.2"
ARG CROSS_BUILD_START="cross-build-start"
ARG CROSS_BUILD_END="cross-build-end"
RUN [ ${CROSS_BUILD_START} ]
Expand All @@ -29,12 +29,12 @@ RUN apt-get update \
" \
&& apt-get install -y --no-install-recommends $buildDeps \
&& echo 'gem: --no-document' >> /etc/gemrc \
&& gem install oj -v 3.14.3 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.1 \
&& gem install fluentd -v 1.16.1 \
&& gem install async-http -v 0.60.2 \
&& gem install fluentd -v 1.16.2 \
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-$dpkgArch" \
&& wget -O /usr/local/bin/tini.asc "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-$dpkgArch.asc" \
Expand Down
2 changes: 1 addition & 1 deletion v1.16/arm64/debian/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download
chmod +x manifest-tool

# Tag and push image for each additional tag
for tag in {v1.16.1-debian-arm64-1.0,v1.16-debian-arm64-1,edge-debian-arm64}; do
for tag in {v1.16.2-debian-arm64-1.0,v1.16-debian-arm64-1,edge-debian-arm64}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
8 changes: 4 additions & 4 deletions v1.16/armhf/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN curl -sL -o qemu-3.0.0+resin-arm.tar.gz https://github.com/balena-io/qemu/re
FROM arm32v7/ruby:3.1-slim-bullseye
COPY --from=builder /go/qemu-arm-static /usr/bin/
LABEL maintainer "Fluentd developers <[email protected]>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.1"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.2"
ARG CROSS_BUILD_START="cross-build-start"
ARG CROSS_BUILD_END="cross-build-end"
RUN [ ${CROSS_BUILD_START} ]
Expand All @@ -29,12 +29,12 @@ RUN apt-get update \
" \
&& apt-get install -y --no-install-recommends $buildDeps \
&& echo 'gem: --no-document' >> /etc/gemrc \
&& gem install oj -v 3.14.3 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.1 \
&& gem install fluentd -v 1.16.1 \
&& gem install async-http -v 0.60.2 \
&& gem install fluentd -v 1.16.2 \
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-$dpkgArch" \
&& wget -O /usr/local/bin/tini.asc "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-$dpkgArch.asc" \
Expand Down
2 changes: 1 addition & 1 deletion v1.16/armhf/debian/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}

# Tag and push image for each additional tag
for tag in {v1.16.1-debian-armhf-1.0,v1.16-debian-armhf-1,edge-debian-armhf}; do
for tag in {v1.16.2-debian-armhf-1.0,v1.16-debian-armhf-1,edge-debian-armhf}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
8 changes: 4 additions & 4 deletions v1.16/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM ruby:3.1-slim-bullseye
LABEL maintainer "Fluentd developers <[email protected]>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.1"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.2"
ENV TINI_VERSION=0.18.0

# Do not split this into multiple RUN!
Expand All @@ -18,12 +18,12 @@ RUN apt-get update \
" \
&& apt-get install -y --no-install-recommends $buildDeps \
&& echo 'gem: --no-document' >> /etc/gemrc \
&& gem install oj -v 3.14.3 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.1 \
&& gem install fluentd -v 1.16.1 \
&& gem install async-http -v 0.60.2 \
&& gem install fluentd -v 1.16.2 \
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget -O /usr/local/bin/tini "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-$dpkgArch" \
&& wget -O /usr/local/bin/tini.asc "https://github.com/krallin/tini/releases/download/v$TINI_VERSION/tini-$dpkgArch.asc" \
Expand Down
2 changes: 1 addition & 1 deletion v1.16/debian/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download
chmod +x manifest-tool

# Tag and push image for each additional tag
for tag in {v1.16.1-debian-amd64-1.0,v1.16-debian-amd64-1,edge-debian-amd64}; do
for tag in {v1.16.2-debian-amd64-1.0,v1.16-debian-amd64-1,edge-debian-amd64}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 3 additions & 3 deletions v1.16/windows-ltsc2019/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM mcr.microsoft.com/windows/servercore:ltsc2019
LABEL maintainer "Fluentd developers <[email protected]>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.1"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.2"

# Do not split this into multiple RUN!
# Docker creates a layer for every RUN-Statement
Expand All @@ -15,10 +15,10 @@ RUN choco install -y ruby --version 3.1.3.1 --params "'/InstallDir:C:\ruby31'" \
RUN refreshenv \
&& ridk install 3 \
&& echo gem: --no-document >> C:\ProgramData\gemrc \
&& gem install oj -v 3.14.2 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install fluentd -v 1.16.1 \
&& gem install fluentd -v 1.16.2 \
&& gem install win32-service -v 2.3.2 \
&& gem install win32-ipc -v 0.7.0 \
&& gem install win32-event -v 0.6.3 \
Expand Down
2 changes: 1 addition & 1 deletion v1.16/windows-ltsc2019/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}

# Tag and push image for each additional tag
for tag in {v1.16.1-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1}; do
for tag in {v1.16.2-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 3 additions & 3 deletions v1.16/windows-ltsc2022/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM mcr.microsoft.com/windows/servercore:ltsc2022
LABEL maintainer "Fluentd developers <[email protected]>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.1"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.2"

# Do not split this into multiple RUN!
# Docker creates a layer for every RUN-Statement
Expand All @@ -15,10 +15,10 @@ RUN choco install -y ruby --version 3.1.3.1 --params "'/InstallDir:C:\ruby31'" \
RUN refreshenv \
&& ridk install 3 \
&& echo gem: --no-document >> C:\ProgramData\gemrc \
&& gem install oj -v 3.14.2 \
&& gem install oj -v 3.15.0 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.5 \
&& gem install fluentd -v 1.16.1 \
&& gem install fluentd -v 1.16.2 \
&& gem install win32-service -v 2.3.2 \
&& gem install win32-ipc -v 0.7.0 \
&& gem install win32-event -v 0.6.3 \
Expand Down
2 changes: 1 addition & 1 deletion v1.16/windows-ltsc2022/hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
repoName=${IMAGE_NAME:0:tagStart-1}

# Tag and push image for each additional tag
for tag in {v1.16.1-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1}; do
for tag in {v1.16.2-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down

0 comments on commit 4db0a26

Please sign in to comment.