File: Dockerfile-hitch

package info (click to toggle)
python-strictyaml 1.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,708 kB
  • sloc: python: 12,836; sh: 48; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV PYENV_ROOT=/gen/pyenv/

RUN apt-get update && apt-get install \
    libuv1-dev libncurses5-dev libncursesw5-dev xz-utils \
    liblzma-dev tk-dev build-essential \
    libreadline-dev libffi-dev libsqlite3-dev \
    zlib1g-dev zlib1g libbz2-dev libssl-dev \
    curl git make llvm wget \
    python3-virtualenv virtualenv \
    python3-dev python-openssl -y \
    && apt-get clean && rm -rf /var/lib/apt/lists/*

# Isolate system python packages from those used in project
RUN virtualenv --python=python3 /venv
RUN mkdir /src

WORKDIR /src
COPY hitch/hitchreqs.txt /
RUN /venv/bin/pip install setuptools-rust
RUN /venv/bin/pip install -r /hitchreqs.txt