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.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/env/Dockerfile-beanstalkd.yaml b/tests/env/Dockerfile-beanstalkd.yaml
new file mode 100644
index 00000000..cb81aafa
--- /dev/null
+++ b/tests/env/Dockerfile-beanstalkd.yaml
@@ -0,0 +1,12 @@
+FROM ubuntu:latest
+
+RUN apt-get update && apt-get install -y curl build-essential
+
+RUN curl -sL https://github.com/kr/beanstalkd/archive/v1.12.tar.gz | tar xvz -C /tmp
+
+WORKDIR /tmp/beanstalkd-1.12
+RUN make
+RUN cp beanstalkd /usr/bin
+
+EXPOSE 11300
+ENTRYPOINT ["/usr/bin/beanstalkd"]