Commit 212ed6f4 authored by aleks's avatar aleks

Run HAP Snapshot ss-20190706 to check prometheus fix

parent 5750469c
Pipeline #69860907 passed with stage
in 9 minutes and 56 seconds
......@@ -3,9 +3,14 @@ FROM centos:latest
# take a look at http://www.lua.org/download.html for
# newer version
# change for snapshot build
# + HAPROXY_VERSION=2.0.1
# + DEV=
# + && echo "${HAPROXY_SHA256} haproxy-${HAPROXY_VERSION}.tar.gz" | sha256sum -c \
ENV HAPROXY_MAJOR=2.0 \
HAPROXY_VERSION=2.0.1 \
DEV= \
HAPROXY_VERSION=ss-20190706 \
DEV=snapshot \
HAPROXY_SHA256=9975c475ba6f19aac4b665d8705f7b9f7911df7fc316ba7b9efd6fe263181eb1 \
LUA_VERSION=5.3.5 \
LUA_URL=http://www.lua.org/ftp/lua-5.3.5.tar.gz \
......@@ -14,6 +19,8 @@ ENV HAPROXY_MAJOR=2.0 \
OPENSSL_VERS=1.1.1c \
OSSP_SHA256=f6fb3079ad15076154eda9413fed42877d668e7069d9b87396d0804fdb3f4c90
# http://www.haproxy.org/download/2.0/src/snapshot/haproxy-ss-20190706.tar.gz
RUN set -x \
&& yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& yum -y update \
......@@ -40,7 +47,6 @@ RUN set -x \
&& tar -xzf lua-${LUA_VERSION}.tar.gz -C /usr/src/lua --strip-components=1 \
&& make -C /usr/src/lua linux test install \
&& curl -sSLO http://www.haproxy.org/download/${HAPROXY_MAJOR}/src/${DEV}/haproxy-${HAPROXY_VERSION}.tar.gz \
&& echo "${HAPROXY_SHA256} haproxy-${HAPROXY_VERSION}.tar.gz" | sha256sum -c \
&& tar -xzf haproxy-${HAPROXY_VERSION}.tar.gz -C /usr/src/haproxy --strip-components=1 \
&& make -C /usr/src/haproxy \
TARGET=linux-glibc \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment