From 4d85509a0a9c2f7705b633ba45729853affc2626 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Fri, 24 Nov 2023 07:23:46 +0000 Subject: [PATCH] Actually, `latest` should have the latest `master` branch of Salt installed Signed-off-by: Pedro Algarvio --- salt/current.Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/salt/current.Dockerfile b/salt/current.Dockerfile index 3c8a7b8..431ac1e 100644 --- a/salt/current.Dockerfile +++ b/salt/current.Dockerfile @@ -1,4 +1,9 @@ FROM python:3.10 RUN apt update \ - && apt install -y rustc build-essential + && apt install -y git rustc build-essential +# Let's do a full clone for proper versioning +RUN git clone https://github.com/saltstack/salt.git salt-git \ + && export USE_STATIC_REQUIREMENTS=1 \ + && python -m pip install ./salt-git \ + && rm -rf salt-git/