forked from lenosi/docker-alpine-openjdk-amq7-snapshot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
55 lines (39 loc) · 797 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# Alpine Linux - AMQ7 snapshot Dockerfile
#
FROM library/fedora:27
MAINTAINER Jiri Danek <jdanek@redhat.com>
USER root
RUN yum install -y \
java-1.8.0-openjdk \
libaio \
patch \
unzip \
wget \
grep \
&& yum clean all
# create artemis user
RUN adduser amq7
# Setup broker
ADD setup_broker.sh ./
RUN ./setup_broker.sh
# Hawtio Managment Console
EXPOSE 8161
# Artemis | CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE
EXPOSE 61616
# AMQP
EXPOSE 5672
# HORNETQ,STOMP
EXPOSE 5445
# MQTT
EXPOSE 1883
# STOMP
EXPOSE 61613
# Expose some outstanding folders
VOLUME ["/var/lib/amq7/data"]
VOLUME ["/var/lib/amq7/tmp"]
VOLUME ["/var/lib/amq7/etc"]
WORKDIR /var/lib/amq7/bin
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["amq7-server"]