From b1d02070ef446212436b62865a7d92bd64cc70d3 Mon Sep 17 00:00:00 2001 From: Michael Herrmann Date: Thu, 29 Jul 2021 12:22:35 +0200 Subject: [PATCH] Small improvements to `buildvm ubuntu` --- fbs/_defaults/src/build/docker/ubuntu/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fbs/_defaults/src/build/docker/ubuntu/Dockerfile b/fbs/_defaults/src/build/docker/ubuntu/Dockerfile index 0d5a793..ebd8e28 100644 --- a/fbs/_defaults/src/build/docker/ubuntu/Dockerfile +++ b/fbs/_defaults/src/build/docker/ubuntu/Dockerfile @@ -4,7 +4,8 @@ FROM ubuntu:16.04 ARG requirements ARG python_version=3.6.12 -ARG python_build_deps="build-essential libssl-dev zlib1g-dev libncurses5-dev libreadline-dev libgdbm-dev libdb5.3-dev libbz2-dev liblzma-dev libsqlite3-dev libffi-dev tcl-dev tk tk-dev" +# List from https://github.com/pyenv/pyenv/wiki#suggested-build-environment: +ARG python_build_deps="make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev" RUN apt-get update && \ apt-get upgrade -y @@ -31,7 +32,7 @@ RUN apt-get install ruby ruby-dev build-essential -y && \ WORKDIR /root/${app_name} -# Set up virtual environment, upgrade pip, and install requirements: +# Install Python requirements: ADD *.txt /tmp/requirements/ RUN pip install --upgrade pip && \ pip install -r "/tmp/requirements/${requirements}"