From 0aa62f31e0bf14e1fb97fe18325bcb58a009df55 Mon Sep 17 00:00:00 2001 From: Maria <77745122+mariaWitch@users.noreply.github.com> Date: Tue, 16 Aug 2022 19:45:57 -0400 Subject: [PATCH] Run container with the root user Due to changes in how HAProxy handled it's base user in containers containing HAProxy 2.4+, we need to run as the root user otherwise the container won't start. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 98cf3e5..8f84933 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM haproxy:lts-alpine +USER root EXPOSE 2375 ENV ALLOW_RESTARTS=0 \ AUTH=0 \