summaryrefslogtreecommitdiff
path: root/tests/env
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-21 16:52:41 +0300
committerValery Piashchynski <[email protected]>2021-07-21 16:52:41 +0300
commitb2da831f47284974551710d2767a7bdde0efa51d (patch)
tree7d8fee59cdb307110d2fcd872635437e0203321b /tests/env
parent50cf036c81668508c8f2e9130bc5a2019cddf1b9 (diff)
Fix AMQP context, add ID, job, other fields.
Fix sqs queue re-creation. Complete redia for the beanstalk. Signed-off-by: Valery Piashchynski <[email protected]>
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"