diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-07-02 18:10:04 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-07-02 18:10:04 +0200 |
| commit | 50b914e77695fd1cdb294653f20143747e7e3b01 (patch) | |
| tree | b667145cd04e39abb52d1680fc61a17513ae0af6 /molecule/Dockerfile.j2 | |
| parent | 66e46df3d2a840bf62ef8084ad171041772db65e (diff) | |
| download | ansible-role-borgbackup-50b914e77695fd1cdb294653f20143747e7e3b01.tar.gz ansible-role-borgbackup-50b914e77695fd1cdb294653f20143747e7e3b01.zip | |
Add state: absent variable
Allow removing configuration for repositories.
Diffstat (limited to 'molecule/Dockerfile.j2')
| -rw-r--r-- | molecule/Dockerfile.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/molecule/Dockerfile.j2 b/molecule/Dockerfile.j2 new file mode 100644 index 0000000..cc459e3 --- /dev/null +++ b/molecule/Dockerfile.j2 @@ -0,0 +1,16 @@ +FROM {{ item.image }} + +# Install dependencies. +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + sudo wget \ + python3-pip python3-dev python3-setuptools python3-wheel python3-apt \ + sed ssh openssh-server \ + systemd systemd-sysv dbus dbus-user-session \ + && rm -rf /var/lib/apt/lists/* \ + && rm -Rf /usr/share/doc && rm -Rf /usr/share/man \ + && apt-get clean + +RUN mkdir /run/sshd + +ENTRYPOINT ["/sbin/init"] |