File tree Expand file tree Collapse file tree 9 files changed +16
-12
lines changed
Expand file tree Collapse file tree 9 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 1717
1818IMAGE_NAME := fluent/fluentd
1919X86_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
2525ARM_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
2929ARM64_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
3232WINDOWS_IMAGES := \
3333 v1.17/windows-ltsc2019:v1.17.1-windows-ltsc2019-1.1,v1.17-windows-ltsc2019-1 \
Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
99repoName=${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
Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download
1313chmod +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
Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :)
99repoName=${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
Original file line number Diff line number Diff 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 \
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ curl -Lo manifest-tool https://github.com/estesp/manifest-tool/releases/download
1313chmod +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
You can’t perform that action at this time.
0 commit comments