Skip to content

Instantly share code, notes, and snippets.

@antonioabelgc
Created January 8, 2024 10:27
Show Gist options
  • Save antonioabelgc/c80e12619a3907659cd0dee46a8207a5 to your computer and use it in GitHub Desktop.
Save antonioabelgc/c80e12619a3907659cd0dee46a8207a5 to your computer and use it in GitHub Desktop.
Docker-HAProxy-SpoaMirror
FROM haproxy:2.0
USER root
RUN apt update
RUN apt install -y autoconf automake build-essential git libcurl4-openssl-dev libev-dev libpthread-stubs0-dev pkg-config
RUN git clone https://github.com/haproxytech/spoa-mirror
WORKDIR spoa-mirror
RUN ./scripts/bootstrap
RUN ./configure --enable-debug
RUN make all
RUN cp ./src/spoa-mirror /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment