summaryrefslogtreecommitdiff
path: root/tests/env
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env')
-rw-r--r--tests/env/Dockerfile-beanstalkd.yaml8
-rw-r--r--tests/env/docker-compose.yaml9
2 files changed, 6 insertions, 11 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
diff --git a/tests/env/docker-compose.yaml b/tests/env/docker-compose.yaml
index 2573fe7a..dc91e7b6 100644
--- a/tests/env/docker-compose.yaml
+++ b/tests/env/docker-compose.yaml
@@ -1,4 +1,4 @@
-version: '3'
+version: '3.8'
services:
memcached:
@@ -16,9 +16,6 @@ services:
toxicproxy:
image: shopify/toxiproxy
-# ports:
-# - "8474:8474"
-# - "5673:5673"
network_mode: "host"
beanstalk:
@@ -37,10 +34,6 @@ services:
rabbitmq:
image: rabbitmq:3-management
- environment:
- RABBITMQ_DEFAULT_USER: guest
- RABBITMQ_DEFAULT_PASS: guest
- RABBITMQ_DEFAULT_VHOST: /
ports:
- "15672:15672"
- "5672:5672"