Skip to content

Commit

Permalink
Merge pull request #377 from kenhys/v1164
Browse files Browse the repository at this point in the history
Add v1.16.4 images
  • Loading branch information
kenhys committed Mar 21, 2024
2 parents 9ec0970 + 521a07e commit fc278c8
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 47 deletions.
4 changes: 0 additions & 4 deletions Dockerfile.template.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ RUN refreshenv \
&& gem install oj -v 3.16.1 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.6 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v <%= fluentd_ver %> \
&& gem install win32-service -v 2.3.2 \
&& gem install win32-ipc -v 0.7.0 \
Expand Down Expand Up @@ -121,8 +119,6 @@ RUN apt-get update \
&& gem install rexml -v 3.2.6 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.2 \
# CVE-2023-36617
&& gem install uri -v 0.12.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 @@ -17,21 +17,21 @@

IMAGE_NAME := fluent/fluentd
X86_IMAGES := \
v1.16/alpine:v1.16.3-2.0,v1.16-2,edge \
v1.16/debian:v1.16.3-debian-amd64-2.0,v1.16-debian-amd64-2,edge-debian-amd64
v1.16/alpine:v1.16.4-1.0,v1.16-2,edge \
v1.16/debian:v1.16.4-debian-amd64-1.0,v1.16-debian-amd64-2,edge-debian-amd64
# <Dockerfile>:<version>,<tag1>,<tag2>,...

# Define images for running on ARM platforms
ARM_IMAGES := \
v1.16/armhf/debian:v1.16.3-debian-armhf-2.0,v1.16-debian-armhf-2,edge-debian-armhf \
v1.16/armhf/debian:v1.16.4-debian-armhf-1.0,v1.16-debian-armhf-2,edge-debian-armhf \

# Define images for running on ARM64 platforms
ARM64_IMAGES := \
v1.16/arm64/debian:v1.16.3-debian-arm64-2.0,v1.16-debian-arm64-2,edge-debian-arm64 \
v1.16/arm64/debian:v1.16.4-debian-arm64-1.0,v1.16-debian-arm64-2,edge-debian-arm64 \

WINDOWS_IMAGES := \
v1.16/windows-ltsc2019:v1.16.3-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1 \
v1.16/windows-ltsc2022:v1.16.3-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1
v1.16/windows-ltsc2019:v1.16.4-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1 \
v1.16/windows-ltsc2022:v1.16.4-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1

LINUX_IMAGES := $(X86_IMAGES) $(ARM_IMAGES) $(ARM64_IMAGES)
ALL_IMAGES := $(LINUX_IMAGES) $(WINDOWS_IMAGES)
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,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.3-2.0`, `v1.16-2`, `edge`
- `v1.16.4-1.0`, `v1.16-2`, `edge`
[(v1.16/alpine/Dockerfile)][fluentd-1-alpine]
- `v1.16.3-debian-2.0`, `v1.16-debian-2`, `edge-debian`
- `v1.16.4-debian-1.0`, `v1.16-debian-2`, `edge-debian`
(multiarch image for arm64(AArch64) and amd64(x86_64))
- `v1.16.3-debian-amd64-2.0`, `v1.16-debian-amd64-2`, `edge-debian-amd64`
- `v1.16.4-debian-amd64-1.0`, `v1.16-debian-amd64-2`, `edge-debian-amd64`
[(v1.16/debian/Dockerfile)][fluentd-1-debian]
- `v1.16.3-debian-arm64-2.0`, `v1.16-debian-arm64-2`, `edge-debian-arm64`
- `v1.16.4-debian-arm64-1.0`, `v1.16-debian-arm64-2`, `edge-debian-arm64`
[(v1.16/arm64/debian/Dockerfile)][fluentd-1-debian-arm64]
- `v1.16.3-debian-armhf-2.0`, `v1.16-debian-armhf-2`, `edge-debian-armhf`
- `v1.16.4-debian-armhf-1.0`, `v1.16-debian-armhf-2`, `edge-debian-armhf`
[(v1.16/armhf/debian/Dockerfile)][fluentd-1-debian-armhf]
- `v1.16.3-windows-ltsc2019-1.0`, `v1.16-windows-ltsc2019-1`
- `v1.16.4-windows-ltsc2019-1.0`, `v1.16-windows-ltsc2019-1`
[(v1.16/windows-ltsc2019/Dockerfile)][fluentd-1-ltsc2019-windows]
- `v1.16.3-windows-ltsc2022-1.0`, `v1.16-windows-ltsc2022-1`
- `v1.16.4-windows-ltsc2022-1.0`, `v1.16-windows-ltsc2022-1`
[(v1.16/windows-ltsc2022/Dockerfile)][fluentd-1-ltsc2022-windows]

### Old v1.4 images
Expand Down
6 changes: 2 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.19
LABEL maintainer "Fluentd developers <fluentd@googlegroups.com>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.3"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.4"

# Do not split this into multiple RUN!
# Docker creates a layer for every RUN-Statement
Expand All @@ -22,9 +22,7 @@ RUN apk update \
&& gem install rexml -v 3.2.6 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.2 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v 1.16.3 \
&& gem install fluentd -v 1.16.4 \
&& gem install bigdecimal -v 1.4.4 \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/* \
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.3-2.0,v1.16-2,edge}; do
for tag in {v1.16.4-1.0,v1.16-2,edge}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 2 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 --platform=linux/arm64 arm64v8/ruby:3.2-slim-bookworm
COPY --from=builder /go/qemu-aarch64-static /usr/bin/
LABEL maintainer "Fluentd developers <fluentd@googlegroups.com>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.3"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.4"
ARG CROSS_BUILD_START="cross-build-start"
ARG CROSS_BUILD_END="cross-build-end"
RUN [ ${CROSS_BUILD_START} ]
Expand All @@ -34,9 +34,7 @@ RUN apt-get update \
&& gem install rexml -v 3.2.6 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.2 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v 1.16.3 \
&& gem install fluentd -v 1.16.4 \
&& 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.3-debian-arm64-2.0,v1.16-debian-arm64-2,edge-debian-arm64}; do
for tag in {v1.16.4-debian-arm64-1.0,v1.16-debian-arm64-2,edge-debian-arm64}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 2 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 --platform=linux/arm/v7 arm32v7/ruby:3.2-slim-bookworm
COPY --from=builder /go/qemu-arm-static /usr/bin/
LABEL maintainer "Fluentd developers <fluentd@googlegroups.com>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.3"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.4"
ARG CROSS_BUILD_START="cross-build-start"
ARG CROSS_BUILD_END="cross-build-end"
RUN [ ${CROSS_BUILD_START} ]
Expand All @@ -34,9 +34,7 @@ RUN apt-get update \
&& gem install rexml -v 3.2.6 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.2 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v 1.16.3 \
&& gem install fluentd -v 1.16.4 \
&& 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.3-debian-armhf-2.0,v1.16-debian-armhf-2,edge-debian-armhf}; do
for tag in {v1.16.4-debian-armhf-1.0,v1.16-debian-armhf-2,edge-debian-armhf}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 2 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.2-slim-bookworm
LABEL maintainer "Fluentd developers <fluentd@googlegroups.com>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.3"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.4"
ENV TINI_VERSION=0.18.0

# Do not split this into multiple RUN!
Expand All @@ -23,9 +23,7 @@ RUN apt-get update \
&& gem install rexml -v 3.2.6 \
&& gem install async -v 1.31.0 \
&& gem install async-http -v 0.60.2 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v 1.16.3 \
&& gem install fluentd -v 1.16.4 \
&& 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.3-debian-amd64-2.0,v1.16-debian-amd64-2,edge-debian-amd64}; do
for tag in {v1.16.4-debian-amd64-1.0,v1.16-debian-amd64-2,edge-debian-amd64}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 2 additions & 4 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/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019
LABEL maintainer "Fluentd developers <fluentd@googlegroups.com>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.3"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.4"

# Do not split this into multiple RUN!
# Docker creates a layer for every RUN-Statement
Expand All @@ -18,9 +18,7 @@ RUN refreshenv \
&& gem install oj -v 3.16.1 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.6 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v 1.16.3 \
&& gem install fluentd -v 1.16.4 \
&& 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.3-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1}; do
for tag in {v1.16.4-windows-ltsc2019-1.0,v1.16-windows-ltsc2019-1}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}

Expand Down
6 changes: 2 additions & 4 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/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022
LABEL maintainer "Fluentd developers <fluentd@googlegroups.com>"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.3"
LABEL Description="Fluentd docker image" Vendor="Fluent Organization" Version="1.16.4"

# Do not split this into multiple RUN!
# Docker creates a layer for every RUN-Statement
Expand All @@ -18,9 +18,7 @@ RUN refreshenv \
&& gem install oj -v 3.16.1 \
&& gem install json -v 2.6.3 \
&& gem install rexml -v 3.2.6 \
# CVE-2023-36617
&& gem install uri -v 0.12.2 \
&& gem install fluentd -v 1.16.3 \
&& gem install fluentd -v 1.16.4 \
&& 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.3-windows-ltsc2022-1.0,v1.16-windows-ltsc2022-1}; do
for tag in {v1.16.4-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 fc278c8

Please sign in to comment.