diff options
author | Kelley Spoon <kelley.spoon@linaro.org> | 2023-11-28 16:09:01 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2023-11-28 16:09:01 +0000 |
commit | 130bafdf08e91bbbeed998e232d67916ae16fad0 (patch) | |
tree | 72caa1ce3b8c6fe5a3ac2216456db604bb47f0ea | |
parent | 6d158f9eb6d29f2866346a299aafdd92accb37be (diff) | |
parent | 70cbbdd6bcf760c8e10f61768c0b7940c1852cf2 (diff) |
-rw-r--r-- | Dockerfile.dev | 17 | ||||
-rwxr-xr-x | run-dev.sh | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Dockerfile.dev b/Dockerfile.dev new file mode 100644 index 0000000..a2735b1 --- /dev/null +++ b/Dockerfile.dev @@ -0,0 +1,17 @@ +FROM ansible/baseimage:20.04 + +RUN apt update \ + && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \ + python3-apt \ + python3-dev \ + python3-virtualenv \ + virtualenv \ + python3-flake8 \ + flake8 \ + libldap2-dev \ + libsasl2-dev \ + libssl-dev +RUN mkdir -p /srv/patchwork-tools + + +CMD ["/usr/sbin/sshd", "-D"] diff --git a/run-dev.sh b/run-dev.sh new file mode 100755 index 0000000..f967328 --- /dev/null +++ b/run-dev.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +docker run -d --name patches.linaro.org \ + -e ANSIBLE_GROUP=patchwork \ + -e ANSIBLE_HOST=patches.linaro.org \ + -v $(pwd):/srv/workspace \ + ansible/baseimage:20.04 |