2023-03-17 10:47:06 +01:00
|
|
|
ARG UBUNTU_VERSION=22.04
|
|
|
|
|
|
|
|
FROM ubuntu:$UBUNTU_VERSION as build
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
2023-05-29 06:45:50 +02:00
|
|
|
apt-get install -y build-essential python3 python3-pip git
|
2023-03-17 10:47:06 +01:00
|
|
|
|
2023-04-14 15:37:11 +02:00
|
|
|
COPY requirements.txt requirements.txt
|
|
|
|
|
2023-03-17 10:47:06 +01:00
|
|
|
RUN pip install --upgrade pip setuptools wheel \
|
2023-04-14 15:37:11 +02:00
|
|
|
&& pip install -r requirements.txt
|
2023-03-17 10:47:06 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN make
|
|
|
|
|
2023-06-08 09:58:53 +02:00
|
|
|
ENV LC_ALL=C.utf8
|
|
|
|
|
2023-03-20 09:24:11 +01:00
|
|
|
ENTRYPOINT ["/app/.devops/tools.sh"]
|