mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Test with updated dataplaneapi for map fix and exclusing backends in sync, change to .yml, and empty backends map
This commit is contained in:
@ -38,11 +38,11 @@ RUN set -eux; \
|
||||
luarocks \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
\
|
||||
wget -O dataplaneapi_Linux_x86_64.tar.gz "$DATAPLANEAPI_URL"; \
|
||||
tar -zxvf dataplaneapi_Linux_x86_64.tar.gz; \
|
||||
chmod +x build/dataplaneapi; \
|
||||
cp build/dataplaneapi /usr/local/bin/; \
|
||||
# \
|
||||
# wget -O dataplaneapi_Linux_x86_64.tar.gz "$DATAPLANEAPI_URL"; \
|
||||
# tar -zxvf dataplaneapi_Linux_x86_64.tar.gz; \
|
||||
# chmod +x build/dataplaneapi; \
|
||||
# cp build/dataplaneapi /usr/local/bin/; \
|
||||
\
|
||||
wget -O haproxy.tar.gz "$HAPROXY_URL"; \
|
||||
# echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c; \
|
||||
@ -93,6 +93,7 @@ RUN set -eux; \
|
||||
# "graceful stop is triggered when the SIGUSR1 signal is sent to the haproxy process"
|
||||
STOPSIGNAL SIGUSR1
|
||||
|
||||
ADD haproxy/dataplaneapi.yml /etc/haproxy/dataplaneapi.yml
|
||||
ADD haproxy/docker-entrypoint.sh /usr/local/bin/
|
||||
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
|
||||
RUN apt update && apt install -y git lua5.3 liblua5.3-dev argon2 libargon2-dev luarocks
|
||||
|
Reference in New Issue
Block a user