@@ -38,13 +38,13 @@ RUN mkdir -p /opt/MarkLogic \
38
38
&& chmod 766 -R /opt/MarkLogic
39
39
40
40
####################################################
41
- # inject init, start and clustering scripts
41
+ # inject init, start and clustering scripts and set permission
42
42
###############################################################
43
43
44
44
COPY scripts/start-marklogic-rootless.sh /usr/local/bin/start-marklogic.sh
45
45
RUN chown ${ML_USER} /usr/local/bin/start-marklogic.sh \
46
46
&& chmod +x /usr/local/bin/start-marklogic.sh
47
-
47
+
48
48
###############################################################
49
49
# install MarkLogic server and remove mlcmd packages
50
50
###############################################################
@@ -55,7 +55,6 @@ RUN rpm -i /tmp/marklogic-server.rpm \
55
55
&& rm -rf ./opt/MarkLogic/mlcmd/lib/* \
56
56
&& rm -rf ./opt/MarkLogic/mlcmd/ext/*
57
57
58
-
59
58
###############################################################
60
59
# set marklogic.conf authorisation
61
60
###############################################################
@@ -100,7 +99,6 @@ LABEL "com.marklogic.license.url"="https://developer.marklogic.com/eula"
100
99
LABEL "com.marklogic.description"="MarkLogic is the only Enterprise NoSQL database. It is a new generation database built with a flexible data model to store, manage, and search JSON, XML, RDF, and more - without sacrificing enterprise features such as ACID transactions, certified security, backup, and recovery. With these capabilities, MarkLogic is ideally suited for making heterogeneous data integration simpler and faster, and for delivering dynamic content at massive scale. The current release of the MarkLogic Server Developer Docker image includes all features and is limited to developer use."
101
100
LABEL docker.cmd="docker run -it -p 7997-8010:7997-8010 -e MARKLOGIC_INIT=true -e MARKLOGIC_ADMIN_USERNAME=<INSERT USERNAME> -e MARKLOGIC_ADMIN_PASSWORD=<INSERT PASSWORD> --mount src=MarkLogic,dst=/var/opt/MarkLogic marklogicdb/marklogic-db:${ML_VERSION}"
102
101
103
-
104
102
###############################################################
105
103
# set env vars
106
104
###############################################################
@@ -118,15 +116,14 @@ ENV MARKLOGIC_INSTALL_DIR=/opt/MarkLogic \
118
116
MARKLOGIC_WALLET_PASSWORD_FILE=mldb_wallet_password \
119
117
BUILD_BRANCH=${BUILD_BRANCH} \
120
118
MARKLOGIC_JOIN_TLS_ENABLED=false \
121
- TZ=UTC \
122
119
OVERWRITE_ML_CONF=true \
123
- MARKLOGIC_EC2_HOST=0
120
+ MARKLOGIC_EC2_HOST=0 \
121
+ TZ=UTC
124
122
125
123
################################################################
126
124
# Set Timezone
127
125
################################################################
128
-
129
- RUN RUN microdnf reinstall -y tzdata \
126
+ RUN microdnf reinstall -y tzdata \
130
127
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
131
128
132
129
################################################################
@@ -135,7 +132,7 @@ RUN RUN microdnf reinstall -y tzdata \
135
132
136
133
RUN mkdir -p ${MARKLOGIC_DATA_DIR} \
137
134
&& chown -R ${ML_USER} ${MARKLOGIC_DATA_DIR} \
138
- && chmod 764 -R ${MARKLOGIC_DATA_DIR}
135
+ && chmod 764 -R ${MARKLOGIC_DATA_DIR}
139
136
140
137
###############################################################
141
138
# expose MarkLogic server ports
@@ -165,4 +162,4 @@ VOLUME /var/opt/MarkLogic
165
162
###############################################################
166
163
# set entrypoint
167
164
###############################################################
168
- ENTRYPOINT ["/tini", "--", "/usr/local/bin/start-marklogic.sh"]
165
+ ENTRYPOINT ["/tini", "--", "/usr/local/bin/start-marklogic.sh"]
0 commit comments