From d8cde40b4959bd10b9ab3341ae1460c41a190bc4 Mon Sep 17 00:00:00 2001 From: Shane Clark Date: Sat, 11 Jun 2022 18:31:58 -0600 Subject: [PATCH] Fix unhealthy docker containers (#574) * Add curl to brickfix dockerfile. * Add curl to AccountManager docker. * Fix issue preventing container from building. --- docker/AccountManager.Dockerfile | 2 +- docker/brickfix.Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/AccountManager.Dockerfile b/docker/AccountManager.Dockerfile index dd56e3b9..60226339 100644 --- a/docker/AccountManager.Dockerfile +++ b/docker/AccountManager.Dockerfile @@ -8,7 +8,7 @@ COPY ./thirdparty/AccountManager . ADD docker/credentials_example.py credentials.py ADD docker/resources_example.py resources.py -RUN apk add libffi-dev build-base --no-cache && pip3 install -r requirements.txt +RUN apk add curl libffi-dev build-base --no-cache && pip3 install -r requirements.txt EXPOSE 5000 CMD python3 app.py diff --git a/docker/brickfix.Dockerfile b/docker/brickfix.Dockerfile index 20a9444a..3323cd65 100644 --- a/docker/brickfix.Dockerfile +++ b/docker/brickfix.Dockerfile @@ -1,5 +1,7 @@ # syntax=docker/dockerfile:1 FROM python:3.9.9-slim +RUN apt-get update && \ + apt-get install curl -y WORKDIR /empty_dir EXPOSE 80 CMD python -m http.server 80