This repository was archived by the owner on Jun 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM haproxy:2.1
2+ RUN apt-get update \
3+ && apt-get install -y --no-install-recommends \
4+ ca-certificates \
5+ curl \
6+ lua-json \
7+ lua-luaossl \
8+ && apt-get clean
9+ ENV CONFIG_DIR=/usr/local/etc/haproxy/
10+ # lua http
11+ RUN curl https://raw.githubusercontent.com/haproxytech/haproxy-lua-http/master/http.lua > /http.lua
12+ # https://github.com/haproxytech/haproxy-lua-acme
13+ RUN curl https://raw.githubusercontent.com/haproxytech/haproxy-lua-acme/master/acme.lua > /acme.lua \
14+ && curl https://raw.githubusercontent.com/haproxytech/haproxy-lua-acme/master/config.lua > /config.lua \
15+ && curl https://raw.githubusercontent.com/haproxytech/haproxy-lua-acme/master/haproxy.cfg > $CONFIG_DIR/haproxy.cfg
16+ # check conf
17+ RUN haproxy -c -- $CONFIG_DIR/haproxy.cfg
18+
You can’t perform that action at this time.
0 commit comments