summaryrefslogtreecommitdiff
path: root/tests/env/Dockerfile-beanstalkd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env/Dockerfile-beanstalkd.yaml')
-rw-r--r--tests/env/Dockerfile-beanstalkd.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/env/Dockerfile-beanstalkd.yaml b/tests/env/Dockerfile-beanstalkd.yaml
new file mode 100644
index 00000000..852385a1
--- /dev/null
+++ b/tests/env/Dockerfile-beanstalkd.yaml
@@ -0,0 +1,16 @@
+FROM archlinux:latest
+
+ARG DEBIAN_FRONTEND=noninteractive
+RUN pacman-key --init
+
+RUN Y | pacman -Syu --noconfirm
+RUN Y | pacman -S --noconfirm curl base-devel pkgconf
+
+RUN curl -sL https://github.com/kr/beanstalkd/archive/v1.12.tar.gz | tar xvz -C /tmp
+
+WORKDIR /tmp/beanstalkd-1.12
+RUN make -j12
+RUN cp beanstalkd /usr/bin
+
+EXPOSE 11300
+ENTRYPOINT ["/usr/bin/beanstalkd"]