Skip to content

Commit b377c11

Browse files
committed
Fix typo
1 parent b5188a9 commit b377c11

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

dockerFiles/marklogic-server-ubi-rootless:base

+7-10
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ RUN mkdir -p /opt/MarkLogic \
3838
&& chmod 766 -R /opt/MarkLogic
3939

4040
####################################################
41-
# inject init, start and clustering scripts
41+
# inject init, start and clustering scripts and set permission
4242
###############################################################
4343

4444
COPY scripts/start-marklogic-rootless.sh /usr/local/bin/start-marklogic.sh
4545
RUN chown ${ML_USER} /usr/local/bin/start-marklogic.sh \
4646
&& chmod +x /usr/local/bin/start-marklogic.sh
47-
47+
4848
###############################################################
4949
# install MarkLogic server and remove mlcmd packages
5050
###############################################################
@@ -55,7 +55,6 @@ RUN rpm -i /tmp/marklogic-server.rpm \
5555
&& rm -rf ./opt/MarkLogic/mlcmd/lib/* \
5656
&& rm -rf ./opt/MarkLogic/mlcmd/ext/*
5757

58-
5958
###############################################################
6059
# set marklogic.conf authorisation
6160
###############################################################
@@ -100,7 +99,6 @@ LABEL "com.marklogic.license.url"="https://developer.marklogic.com/eula"
10099
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."
101100
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}"
102101

103-
104102
###############################################################
105103
# set env vars
106104
###############################################################
@@ -118,15 +116,14 @@ ENV MARKLOGIC_INSTALL_DIR=/opt/MarkLogic \
118116
MARKLOGIC_WALLET_PASSWORD_FILE=mldb_wallet_password \
119117
BUILD_BRANCH=${BUILD_BRANCH} \
120118
MARKLOGIC_JOIN_TLS_ENABLED=false \
121-
TZ=UTC \
122119
OVERWRITE_ML_CONF=true \
123-
MARKLOGIC_EC2_HOST=0
120+
MARKLOGIC_EC2_HOST=0 \
121+
TZ=UTC
124122

125123
################################################################
126124
# Set Timezone
127125
################################################################
128-
129-
RUN RUN microdnf reinstall -y tzdata \
126+
RUN microdnf reinstall -y tzdata \
130127
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
131128

132129
################################################################
@@ -135,7 +132,7 @@ RUN RUN microdnf reinstall -y tzdata \
135132

136133
RUN mkdir -p ${MARKLOGIC_DATA_DIR} \
137134
&& chown -R ${ML_USER} ${MARKLOGIC_DATA_DIR} \
138-
&& chmod 764 -R ${MARKLOGIC_DATA_DIR}
135+
&& chmod 764 -R ${MARKLOGIC_DATA_DIR}
139136

140137
###############################################################
141138
# expose MarkLogic server ports
@@ -165,4 +162,4 @@ VOLUME /var/opt/MarkLogic
165162
###############################################################
166163
# set entrypoint
167164
###############################################################
168-
ENTRYPOINT ["/tini", "--", "/usr/local/bin/start-marklogic.sh"]
165+
ENTRYPOINT ["/tini", "--", "/usr/local/bin/start-marklogic.sh"]

0 commit comments

Comments
 (0)