11FROM quay.io/icecodenew/builder_image_x86_64-linux:ubuntu AS step1_lua54
22SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
33# # curl -sSL "https://www.lua.org/download.html" | tr -d '\r\n\t' | grep -Po '(?<=lua-)[0-9]\.[0-9]\.[0-9](?=\.tar\.gz)' | sort -Vr | head -n 1
4- ARG lua_version=' 5.4.4'
5- ARG image_build_date=' 2022-03-08'
4+ ARG lua_version=5.4.4
5+ ARG image_build_date=2022-03-14
66ARG dockerfile_workdir=/build_root/lua
77WORKDIR $dockerfile_workdir
88RUN curl --retry 5 --retry-delay 10 --retry-max-time 60 -fsSL "https://www.lua.org/ftp/lua-${lua_version}.tar.gz" | bsdtar -xf- --strip-components 1 --no-xattrs \
@@ -14,9 +14,9 @@ RUN curl --retry 5 --retry-delay 10 --retry-max-time 60 -fsSL "https://www.lua.o
1414FROM step1_lua54 AS step3_jemalloc
1515SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
1616# https://api.github.com/repos/jemalloc/jemalloc/releases/latest
17- ARG jemalloc_latest_tag_name=' 5.2.1'
17+ ARG jemalloc_latest_tag_name=5.2.1
1818# https://api.github.com/repos/jemalloc/jemalloc/commits?per_page=1
19- ARG jemalloc_latest_commit_hash='f6699803e2772de2a4eb253d5b55f00c3842a950'
19+ ARG jemalloc_latest_commit_hash=eb65d1b07830b285bf7ac7678e964f080cd3916a
2020ARG dockerfile_workdir=/build_root/jemalloc
2121WORKDIR $dockerfile_workdir
2222RUN git clone -j "$(nproc)" --no-tags --shallow-submodules --recurse-submodules --depth 1 --single-branch 'https://github.com/jemalloc/jemalloc.git' . \
@@ -33,8 +33,8 @@ FROM step3_jemalloc AS haproxy_builder
3333SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
3434ARG haproxy_branch=2.4
3535# # curl -sSL "https://git.haproxy.org/?p=haproxy-${haproxy_branch}.git;a=commit;h=refs/heads/master" | tr -d '\r\n\t' | grep -Po '(?<=<td>commit<\/td><td class="sha1">)[a-zA-Z0-9]+(?=<\/td>)'
36- ARG haproxy_latest_commit_hash='12460dbc67dedd1fef9dc81f59ee8154d9f6198f'
37- ARG haproxy_latest_tag_name=' 2.4.14'
36+ ARG haproxy_latest_commit_hash=a891e571f4614ee91bf864bb379bc28f2a66ec20
37+ ARG haproxy_latest_tag_name=2.4.14
3838ARG dockerfile_workdir=/build_root/haproxy
3939WORKDIR $dockerfile_workdir
4040RUN curl --retry 5 --retry-delay 10 --retry-max-time 60 -fsSL "https://git.haproxy.org/?p=haproxy-${haproxy_branch}.git;a=snapshot;h=${haproxy_latest_commit_hash};sf=tgz" | bsdtar -xf- --strip-components 1 --no-xattrs \
@@ -59,7 +59,7 @@ RUN curl --retry 5 --retry-delay 10 --retry-max-time 60 -fsSL "https://git.hapro
5959FROM quay.io/icecodenew/alpine:latest AS haproxy-alpine-collection
6060SHELL ["/bin/ash" , "-eo" , "pipefail" , "-c" ]
6161ARG haproxy_branch=2.4
62- ARG haproxy_latest_tag_name=2.4.0
62+ ARG haproxy_latest_tag_name=2.4.14
6363ARG jemalloc_latest_tag_name=5.2.1
6464COPY --from=step3_jemalloc "/build_root/jemalloc_${jemalloc_latest_tag_name}-dev-1_amd64.deb" "/build_root/"
6565COPY --from=haproxy_builder "/build_root/haproxy_${haproxy_latest_tag_name}-1_amd64.deb" "/build_root/haproxy.service" "/build_root/"
0 commit comments