c87a30450a
1. Confirm the document content is similar as en version.
2. Merge the zh release-1.14 version into 1.15 version
3. add the 1.14 all sample into 1.15 for template work. The build looks fine.
- docs
- concepts
- architecture
11 lines
319 B
Docker
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
|