Commit 5b2809f7 authored by Xavier Barbosa's avatar Xavier Barbosa

Use Rock for building test images

parent 909e738d
Pipeline #510 failed with stages
FROM ubuntu:latest
MAINTAINER Xavier Barbosa <>
RUN apt-get -y update && \
apt-get -y install build-essential curl tar
MOUNT .:/app
RUN curl -LO
RUN tar zxvf 1.0-rc1.tar.gz
RUN cd disque-1.0-rc1 && make && \
mv src/disque /app/ && \
mv src/disque-server /app/disque-server && \
mv disque.conf /app/disque.conf
FROM errorist/py:3.5
MAINTAINER Xavier Barbosa <>
RUN mkdir -p /usr/local/bin
ADD disque /usr/local/bin/disque
ADD disque-server /usr/local/bin/disque-server
ADD disque.conf /etc/disque.conf
RUN chmod +x /usr/local/bin/disque
RUN chmod +x /usr/local/bin/disque-server
RUN apk add --no-cache gcc python3-dev
RUN python -m pip install hiredis
MOUNT /app
TAG errorist/aiodisque:latest
CMD ["/usr/local/bin/disque-server", "/etc/disque.conf", "--port", "$DISQUE_PORT"]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment