Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tgallacher committed Jan 15, 2025
1 parent 6df5a3f commit d36a159
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docker/all-in-one/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1.4
ARG postgres_version=15.1.1.49

ARG pgbouncer_release=1.18.0
Expand Down Expand Up @@ -157,15 +158,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install salt
####################
ENV DEBIAN_FRONTEND noninteractive
ENV SALT_VERSION 3006

# Install one-dir salt
RUN apt-get clean && apt-get update apt-get install-y apt-transport-https \
&& mkdir /etc/apt/keyrings \
&& curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023-arm.gpg https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public \
&& echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023-arm.gpg arch=arm64] https://packages.broadcom.com/artifactory/saltproject-deb/ stable main" | tee /etc/apt/sources.list.d/salt.list \
&& curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023-arm.gpg https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public \
&& echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023-arm.gpg arch=amd64] https://packages.broadcom.com/artifactory/saltproject-deb/ stable main" | tee -a /etc/apt/sources.list.d/salt.list \
&& apt-get install -y salt-minion
RUN mkdir /etc/apt/keyrings \
&& curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public \
&& curl -fsSL -o /etc/apt/sources.list.d/salt.list https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources \
&& cat <<EOF > /etc/apt/preferences.d/salt-pin-1001
Package: salt-*
Pin: version ${SALT_VERSION}.*
Pin-Priority: 1001
EOF \
&& apt-get clean && apt-get update && apt-get install -y salt-minion

ADD docker/all-in-one/etc/salt/minion /etc/salt/minion

Expand Down

0 comments on commit d36a159

Please sign in to comment.