From 74b4971a326c75dfe18dc3d74571cc8c3dac610d Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sat, 11 Apr 2020 06:11:00 +0000 Subject: [PATCH] use python3 for salt in docker --- docker/salt/dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/salt/dockerfile b/docker/salt/dockerfile index f033a536..9f0d2334 100644 --- a/docker/salt/dockerfile +++ b/docker/salt/dockerfile @@ -7,8 +7,8 @@ RUN adduser --no-create-home --disabled-password --gecos "" ${SALT_USER} && \ echo "${SALT_USER}:${SALT_PASS}" | chpasswd && \ apt-get update && \ apt-get install -y ca-certificates wget gnupg2 gettext-base tzdata supervisor && \ - wget -O - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add - && \ - echo 'deb http://repo.saltstack.com/apt/ubuntu/18.04/amd64/latest bionic main' | tee /etc/apt/sources.list.d/saltstack.list && \ + wget -O - https://repo.saltstack.com/py3/ubuntu/18.04/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add - && \ + echo 'deb http://repo.saltstack.com/py3/ubuntu/18.04/amd64/latest bionic main' | tee /etc/apt/sources.list.d/saltstack.list && \ apt-get update && \ apt-get install -y salt-master salt-api && \ mkdir -p /var/log/supervisor