Skip to content

Commit

Permalink
Fix for the docker build (#983)
Browse files Browse the repository at this point in the history
Add gpg key for salt and add salt package
  • Loading branch information
swainn authored Aug 30, 2023
1 parent 12d2cac commit da87966
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba
FROM mambaorg/micromamba:bullseye
###################
# BUILD ARGUMENTS #
###################
Expand Down Expand Up @@ -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/*
Expand Down

0 comments on commit da87966

Please sign in to comment.