Skip to content

Commit 5561b1a

Browse files
authored
Merge pull request #402 from kenhys/release-v1.17.1-1.2
Release v1.17.1 1.2
2 parents 8186b4c + 1a21163 commit 5561b1a

File tree

9 files changed

+16
-12
lines changed

9 files changed

+16
-12
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717

1818
IMAGE_NAME := fluent/fluentd
1919
X86_IMAGES := \
20-
v1.17/alpine:v1.17.1-1.1,v1.17-1,edge \
21-
v1.17/debian:v1.17.1-debian-amd64-1.1,v1.17-debian-amd64-1,edge-debian-amd64
20+
v1.17/alpine:v1.17.1-1.2,v1.17-1,edge \
21+
v1.17/debian:v1.17.1-debian-amd64-1.2,v1.17-debian-amd64-1,edge-debian-amd64
2222
# <Dockerfile>:<version>,<tag1>,<tag2>,...
2323

2424
# Define images for running on ARM platforms
2525
ARM_IMAGES := \
26-
v1.17/armhf/debian:v1.17.1-debian-armhf-1.1,v1.17-debian-armhf-1,edge-debian-armhf \
26+
v1.17/armhf/debian:v1.17.1-debian-armhf-1.2,v1.17-debian-armhf-1,edge-debian-armhf \
2727

2828
# Define images for running on ARM64 platforms
2929
ARM64_IMAGES := \
30-
v1.17/arm64/debian:v1.17.1-debian-arm64-1.1,v1.17-debian-arm64-1,edge-debian-arm64 \
30+
v1.17/arm64/debian:v1.17.1-debian-arm64-1.2,v1.17-debian-arm64-1,edge-debian-arm64 \
3131

3232
WINDOWS_IMAGES := \
3333
v1.17/windows-ltsc2019:v1.17.1-windows-ltsc2019-1.1,v1.17-windows-ltsc2019-1 \

v1.17/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ RUN apk update \
2626
&& export GEM_DIR=$(ruby -e 'puts Gem.dir') \
2727
&& echo GEM_DIR=$GEM_DIR \
2828
&& rm -rf $GEM_DIR/cache/*.gem \
29-
&& find $GEM_DIR -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rf \
29+
# Don't purge $GEM_DIR/gems/GEM/lib/GEM/ext because it might contain runtime .so (e.g json)
30+
&& find $GEM_DIR -maxdepth 3 -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rfv \
3031
&& find $GEM_DIR -name "*.so" | xargs -r strip \
3132
&& gem install bigdecimal -v 1.4.4 \
3233
&& apk del .build-deps \

v1.17/alpine/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
99
repoName=${IMAGE_NAME:0:tagStart-1}
1010

1111
# Tag and push image for each additional tag
12-
for tag in {v1.17.1-1.1,v1.17-1,edge}; do
12+
for tag in {v1.17.1-1.2,v1.17-1,edge}; do
1313
docker tag $IMAGE_NAME ${repoName}:${tag}
1414
docker push ${repoName}:${tag}
1515

v1.17/arm64/debian/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ RUN apt-get update \
3737
&& export GEM_DIR=$(ruby -e 'puts Gem.dir') \
3838
&& echo GEM_DIR=$GEM_DIR \
3939
&& rm -rf $GEM_DIR/cache/*.gem \
40-
&& find $GEM_DIR -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rf \
40+
# Don't purge $GEM_DIR/gems/GEM/lib/GEM/ext because it might contain runtime .so (e.g json)
41+
&& find $GEM_DIR -maxdepth 3 -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rfv \
4142
&& find $GEM_DIR -name "*.so" | xargs -r strip \
4243
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
4344
&& wget -O /tmp/jemalloc-5.3.0.tar.bz2 https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 \

v1.17/arm64/debian/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download
1313
chmod +x manifest-tool
1414

1515
# Tag and push image for each additional tag
16-
for tag in {v1.17.1-debian-arm64-1.1,v1.17-debian-arm64-1,edge-debian-arm64}; do
16+
for tag in {v1.17.1-debian-arm64-1.2,v1.17-debian-arm64-1,edge-debian-arm64}; do
1717
docker tag $IMAGE_NAME ${repoName}:${tag}
1818
docker push ${repoName}:${tag}
1919

v1.17/armhf/debian/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ RUN apt-get update \
3737
&& export GEM_DIR=$(ruby -e 'puts Gem.dir') \
3838
&& echo GEM_DIR=$GEM_DIR \
3939
&& rm -rf $GEM_DIR/cache/*.gem \
40-
&& find $GEM_DIR -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rf \
40+
# Don't purge $GEM_DIR/gems/GEM/lib/GEM/ext because it might contain runtime .so (e.g json)
41+
&& find $GEM_DIR -maxdepth 3 -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rfv \
4142
&& find $GEM_DIR -name "*.so" | xargs -r strip \
4243
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
4344
&& wget -O /tmp/jemalloc-5.3.0.tar.bz2 https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 \

v1.17/armhf/debian/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
99
repoName=${IMAGE_NAME:0:tagStart-1}
1010

1111
# Tag and push image for each additional tag
12-
for tag in {v1.17.1-debian-armhf-1.1,v1.17-debian-armhf-1,edge-debian-armhf}; do
12+
for tag in {v1.17.1-debian-armhf-1.2,v1.17-debian-armhf-1,edge-debian-armhf}; do
1313
docker tag $IMAGE_NAME ${repoName}:${tag}
1414
docker push ${repoName}:${tag}
1515

v1.17/debian/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ RUN apt-get update \
2626
&& export GEM_DIR=$(ruby -e 'puts Gem.dir') \
2727
&& echo GEM_DIR=$GEM_DIR \
2828
&& rm -rf $GEM_DIR/cache/*.gem \
29-
&& find $GEM_DIR -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rf \
29+
# Don't purge $GEM_DIR/gems/GEM/lib/GEM/ext because it might contain runtime .so (e.g json)
30+
&& find $GEM_DIR -maxdepth 3 -type d -name test -or -name ext -or -name spec -or -name benchmark | xargs -r rm -rfv \
3031
&& find $GEM_DIR -name "*.so" | xargs -r strip \
3132
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
3233
&& wget -O /tmp/jemalloc-5.3.0.tar.bz2 https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 \

v1.17/debian/hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download
1313
chmod +x manifest-tool
1414

1515
# Tag and push image for each additional tag
16-
for tag in {v1.17.1-debian-amd64-1.1,v1.17-debian-amd64-1,edge-debian-amd64}; do
16+
for tag in {v1.17.1-debian-amd64-1.2,v1.17-debian-amd64-1,edge-debian-amd64}; do
1717
docker tag $IMAGE_NAME ${repoName}:${tag}
1818
docker push ${repoName}:${tag}
1919

0 commit comments

Comments
 (0)