diff options
Diffstat (limited to 'docker-files/ubuntu.Dockerfile')
-rw-r--r-- | docker-files/ubuntu.Dockerfile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile index 6420dfed..4067d93d 100644 --- a/docker-files/ubuntu.Dockerfile +++ b/docker-files/ubuntu.Dockerfile @@ -36,17 +36,21 @@ FROM base as build ARG PYTHON_VERSION ARG DEBIAN_FRONTEND=noninteractive -# Install build-time dependencies +# Upgrade the system RUN apt-get update \ - && apt-get install -y --no-install-recommends \ + && apt-get upgrade -y + +# Install build-time dependencies +RUN apt-get install -y --no-install-recommends \ python3-dev \ python3-venv \ python3-pip \ python3-wheel \ libzmq5 \ musl-dev \ - build-essential \ - && apt-get clean \ + build-essential + +RUN apt-get clean \ && rm -rf /var/lib/apt/lists/* RUN python${PYTHON_VERSION} -m venv --without-pip venv @@ -115,4 +119,4 @@ FROM full as dev # Forward access and error logs to Docker's log collector RUN ln -sf /dev/stdout /tmp/glances-root.log \ - && ln -sf /dev/stderr /var/log/error.log
\ No newline at end of file + && ln -sf /dev/stderr /var/log/error.log |