File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opensuse_tumbleweed-ansible-latest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM opensuse/tumbleweed:latest
22LABEL maintainer="Sebastian Gumprich"
33ENV container=docker
44
5- RUN zypper install -y python ansible dbus-1 systemd-sysvinit shadow sudo && \
5+ RUN zypper install -y python311 ansible dbus-1 systemd-sysvinit shadow sudo && \
66 zypper clean
77
88RUN cp /usr/lib/systemd/system/dbus.service /etc/systemd/system/; \
@@ -24,7 +24,7 @@ RUN set -xe \
2424 && useradd -m -g ${ANSIBLE_USER} ${ANSIBLE_USER} \
2525 && usermod -aG ${SUDO_GROUP} ${ANSIBLE_USER} \
2626 && usermod -aG ${DEPLOY_GROUP} ${ANSIBLE_USER} \
27- && sed -i "s/^# \( %${SUDO_GROUP} ALL=(ALL:ALL) NOPASSWD: ALL\) /\\ 1/g" /etc/sudoers
27+ && sed -i "s/^# \( %${SUDO_GROUP} ALL=(ALL:ALL) NOPASSWD: ALL\) /\\ 1/g" /usr/ etc/sudoers
2828
2929# delete file created by systemd that prevents login via ssh
3030RUN rm -f /{var/run,etc,run}/nologin
You can’t perform that action at this time.
0 commit comments