From 5f01874961fb46a5f98e4cb4946fa3422718f560 Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Tue, 16 Jul 2024 14:59:22 +0100 Subject: [PATCH] Improve building image --- image-sync/Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/image-sync/Dockerfile b/image-sync/Dockerfile index c8f6f77b..2811db4a 100644 --- a/image-sync/Dockerfile +++ b/image-sync/Dockerfile @@ -1,13 +1,7 @@ -FROM python:3-slim AS build +FROM python:3 AS build SHELL ["/bin/bash", "-o", "pipefail", "-c"] -# hadolint ignore=DL3008 -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - build-essential gcc git \ - && rm -rf /var/lib/apt/lists/* - WORKDIR /image-sync RUN python -m venv /image-sync/venv