Files
chenrui d6bdb664fb zh-trans: add broken link references (#11310)
* zh-trans: add broken link references

* zh-trans: another batch of needed references

* zh-trans: add needed community/static/cncf-code-of-conduct.md ref
2018-11-26 03:06:25 -08:00

11 lines
319 B
Docker

# Specify BROKER_URL and QUEUE when running
FROM ubuntu:14.04
RUN apt-get update && \
apt-get install -y curl ca-certificates amqp-tools python \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY ./worker.py /worker.py
CMD /usr/bin/amqp-consume --url=$BROKER_URL -q $QUEUE -c 1 /worker.py