summaryrefslogtreecommitdiff
path: root/tests/env
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env')
-rw-r--r--tests/env/Dockerfile-beanstalkd.yaml12
-rw-r--r--tests/env/docker-compose.yaml4
2 files changed, 15 insertions, 1 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"]
diff --git a/tests/env/docker-compose.yaml b/tests/env/docker-compose.yaml
index a407fed4..67a927c4 100644
--- a/tests/env/docker-compose.yaml
+++ b/tests/env/docker-compose.yaml
@@ -15,7 +15,9 @@ services:
- "6378:6379"
beanstalk:
- image: schickling/beanstalkd
+ build:
+ context: .
+ dockerfile: Dockerfile-beanstalkd.yaml
ports:
- "11300:11300"