Skip to content

Commit

Permalink
Updated HA Proxy to 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdess committed Mar 14, 2022
1 parent bfeccbf commit 5c5dba1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ RUN apt-get update && apt-get install --no-install-recommends -yqq \

# install haproxy from official debian repos (https://haproxy.debian.net/)

RUN curl https://haproxy.debian.net/bernat.debian.org.gpg | apt-key add -
RUN echo deb http://haproxy.debian.net buster-backports-2.2 main | tee /etc/apt/sources.list.d/haproxy.list
RUN apt-get update \
&& apt-get install -yqq haproxy=2.2.\* \
RUN curl https://haproxy.debian.net/bernat.debian.org.gpg \
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg \
&& echo deb "[signed-by=/usr/share/keyrings/haproxy.debian.net.gpg]" \
http://haproxy.debian.net buster-backports-2.4 main \
> /etc/apt/sources.list.d/haproxy.list \
&& apt-get update \
&& apt-get install -yqq haproxy=2.4.\* \
&& apt-get clean autoclean && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 5c5dba1

Please sign in to comment.