From a839dbd3c54fcd836d091ab0b8056de5f6025ebd Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 8 Apr 2024 17:00:42 -0400 Subject: [PATCH] Ensure latest pip is in docker image this patch adds a command to update pip in both Dockerfile's --- docker/Dockerfile | 1 + docker/Dockerfile-dev | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 75fa23d..c300a16 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -34,6 +34,7 @@ RUN set -ex \ FROM build as final WORKDIR /app +RUN pip3 install -U pip RUN pip3 install aprsd==$APRSD_PIP_VERSION RUN pip install gevent uwsgi RUN which aprsd diff --git a/docker/Dockerfile-dev b/docker/Dockerfile-dev index 6b5c96f..7549a5f 100644 --- a/docker/Dockerfile-dev +++ b/docker/Dockerfile-dev @@ -33,6 +33,7 @@ FROM build as final WORKDIR /app RUN git clone -b $APRSD_BRANCH https://github.com/craigerl/aprsd +RUN pip install -U pip RUN cd aprsd && pip install --no-cache-dir . RUN pip install gevent uwsgi RUN which aprsd