From da87966448c8aa783841ac7e46ffd8807b984b8c Mon Sep 17 00:00:00 2001 From: Nathan Swain Date: Wed, 30 Aug 2023 09:44:49 -0600 Subject: [PATCH] Fix for the docker build (#983) Add gpg key for salt and add salt package --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee6ebc8dd..0e7be7c79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mambaorg/micromamba +FROM mambaorg/micromamba:bullseye ################### # BUILD ARGUMENTS # ################### @@ -112,6 +112,11 @@ RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup \ # Install APT packages RUN rm -rf /var/lib/apt/lists/*\ + && apt-get update \ + && apt-get -y install curl \ + && mkdir /etc/apt/keyrings \ + && curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt/py3/debian/11/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg \ + && echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye main" | tee /etc/apt/sources.list.d/salt.list \ && apt-get update \ && apt-get -y install bzip2 git nginx supervisor gcc salt-minion procps pv \ && rm -rf /var/lib/apt/lists/*