summaryrefslogtreecommitdiff
path: root/tests/env/Dockerfile-beanstalkd.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-01 19:12:40 +0300
committerValery Piashchynski <[email protected]>2021-08-01 19:12:40 +0300
commitc90c11b92e229280477a9b049e65ca1048825dd4 (patch)
tree2a38695cad6dc3095b291575cfb40bc56820d86d /tests/env/Dockerfile-beanstalkd.yaml
parent1e59ec2755a9cdafd26864ba532fa4d3eff46ecd (diff)
Rework vec based on the channel. Use select statement with the default
branch to handle dead workers inside the channel. Update docker-compose.yaml used for the tests. Update rabbitmq to 3.9.1. Replace third-party amqp091 with the official implementation. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/env/Dockerfile-beanstalkd.yaml')
-rw-r--r--tests/env/Dockerfile-beanstalkd.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/env/Dockerfile-beanstalkd.yaml b/tests/env/Dockerfile-beanstalkd.yaml
index 7b36f8d3..852385a1 100644
--- a/tests/env/Dockerfile-beanstalkd.yaml
+++ b/tests/env/Dockerfile-beanstalkd.yaml
@@ -1,13 +1,15 @@
-FROM ubuntu:latest
+FROM archlinux:latest
ARG DEBIAN_FRONTEND=noninteractive
+RUN pacman-key --init
-RUN apt-get update && apt-get install -y curl build-essential pkg-config
+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
+RUN make -j12
RUN cp beanstalkd /usr/bin
EXPOSE 11300