Public Repository

Last pushed: 2 years ago
Short Description
a AWS SQS mock for simple testing
Full Description

Contains https://github.com/adamw/elasticmq.

Dockerfile:

FROM dockerfile/java:oracle-java6
RUN curl -o elasticmq-server-0.8.5.jar https://s3-eu-west-1.amazonaws.com/softwaremill-public/elasticmq-server-0.8.5.jar
CMD java -jar elasticmq-server-0.8.5.jar
EXPOSE 9324

fig.yml:

sqs:
  image: pakohan/elasticmq
  ports:
  - "9324:9324"
Docker Pull Command
Owner
pakohan

Comments (2)
igorescobar
2 years ago

Would be great if this Dockerfile accept the "-Dconfig.file=custom.conf". Otherwise we would need to fork yours...

jbarratt
2 years ago

Thanks, this is working well for us!

However, when using with docker-compose, it was taking a long time to shut down. If you change your CMD line to be CMD ["java", "-jar", "elasticmq-server-0.8.5.jar"] it will allow the signal from docker stop to get through to the java process and it'll shut down rapidly.