Registry Mirror
搜索
Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Files
Expand file tree
master
Breadcrumbs
docker-haproxy
/
Dockerfile
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
29 lines (25 loc) · 1.08 KB
master
Breadcrumbs
docker-haproxy
/
Dockerfile
Copy path
Top
File metadata and controls
Code
Blame
29 lines (25 loc) · 1.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# vim: set ft=dockerfile:
FROM haproxy:1
ARG CERTGEN=0.7
ARG WATCHERD=master
RUN set -x \
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
ca-certificates \
curl \
psmisc \
supervisor \
&& curl -sS -L -o /usr/local/bin/cert-gen https://github.com/_gh/raw/devilbox/cert-gen/${CERTGEN}/bin/cert-gen \
&& curl -sS -L -o /usr/local/bin/watcherd https://github.com/_gh/raw/devilbox/watcherd/${WATCHERD}/watcherd \
&& chmod +x /usr/local/bin/cert-gen \
&& chmod +x /usr/local/bin/watcherd \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
curl \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /etc/supervisor* \
&& mkdir -p /usr/local/etc/haproxy/ssl
COPY data/haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
COPY data/supervisord.conf /etc/supervisord.conf
COPY data/create-vhost-certs.sh /usr/local/bin/create-vhost-certs.sh
COPY data/docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
You can’t perform that action at this time.