From d6ac66931e16edbd14d882dec9e676b402f52311 Mon Sep 17 00:00:00 2001 From: Olivier Desenfans Date: Tue, 21 Oct 2025 22:57:22 +0200 Subject: [PATCH] internal: fix warnings in Dockerfile --- deployment/docker-build/pyaleph.dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployment/docker-build/pyaleph.dockerfile b/deployment/docker-build/pyaleph.dockerfile index 07a14998c..4bc574ec6 100644 --- a/deployment/docker-build/pyaleph.dockerfile +++ b/deployment/docker-build/pyaleph.dockerfile @@ -1,6 +1,6 @@ -FROM ubuntu:24.04 as base +FROM ubuntu:24.04 AS base -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get -y upgrade && apt-get install -y software-properties-common RUN add-apt-repository -y ppa:deadsnakes/ppa @@ -12,7 +12,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y \ libpq5 \ python3.12 -FROM base as builder +FROM base AS builder RUN openssl version RUN cat /etc/ssl/openssl.cnf @@ -41,7 +41,7 @@ RUN rustup default nightly RUN python3.12 -m venv /opt/venv # Install pip -ENV PIP_NO_CACHE_DIR yes +ENV PIP_NO_CACHE_DIR=yes RUN /opt/venv/bin/python3.12 -m pip install --upgrade pip wheel ENV PATH="/opt/venv/bin:${PATH}"