diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f11b75 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ diff --git a/Dockerfile b/Dockerfile index 009c462..6344c4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ -FROM haproxy:1.9.5-alpine +FROM haproxy:2.1.3-alpine + +RUN apk --no-cache upgrade \ + && apk add --no-cache ca-certificates openssl \ + && mkdir /etc/haproxy \ + && mkdir -p /opt/haproxy -RUN apk --no-cache upgrade && apk add --no-cache ca-certificates openssl && mkdir /etc/haproxy && mkdir -p /opt/haproxy COPY entrypoint.sh /bin/ COPY ./error-pages /opt/haproxy/error-pages