This commit is contained in:
parent
642d0b0498
commit
f23e03f4e7
@ -34,8 +34,6 @@ USER root
|
||||
RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis \
|
||||
&& yum install -y libaio && yum -y clean all
|
||||
|
||||
USER artemis
|
||||
|
||||
ADD . /opt/activemq-artemis
|
||||
|
||||
# Web Server
|
||||
@ -53,14 +51,10 @@ EXPOSE 8161 \
|
||||
#Port for STOMP
|
||||
61613
|
||||
|
||||
USER root
|
||||
|
||||
RUN mkdir /var/lib/artemis-instance && chown -R artemis.artemis /var/lib/artemis-instance
|
||||
|
||||
COPY ./docker-run.sh /
|
||||
|
||||
USER artemis
|
||||
|
||||
# Expose some outstanding folders
|
||||
VOLUME ["/var/lib/artemis-instance"]
|
||||
WORKDIR /var/lib/artemis-instance
|
||||
|
Loading…
Reference in New Issue
Block a user