@@ -139,7 +139,7 @@ COPY $VERSION/$SETUP_LINUX_FILE $VERSION/$GRID_SETUP_FILE $VERSION/$DB_SETUP_FIL
139139COPY $VERSION/$RUN_FILE $VERSION/$ADDNODE $VERSION/$ADDNODE_RSP $VERSION/$SETUPSSH $VERSION/$FUNCTIONS $VERSION/$CONFIGGRID $VERSION/$GRID_INSTALL_RSP $VERSION/$DBCA_RSP $VERSION/$PWD_FILE $VERSION/$CHECK_DB_FILE $VERSION/$USER_SCRIPTS_FILE $VERSION/$STOP_FILE $VERSION/$CHECK_DB_FILE $VERSION/$REMOTE_LISTENER_FILE $VERSION/$SETUPGRIDENV $VERSION/$DELNODE $VERSION/$INITSH $VERSION/$RESET_OS_PASSWORD $VERSION/$MULTI_NODE_INSTALL $SCRIPT_DIR/
140140
141141COPY $RAC_SCRIPTS_DIR $SCRIPT_DIR/scripts
142-
142+ # hadolint ignore=SC2086
143143RUN chmod 755 $INSTALL_SCRIPTS/*.sh && \
144144 sync && \
145145 $INSTALL_DIR/install/$CHECK_SPACE_FILE && \
@@ -175,7 +175,7 @@ COPY $VERSION/$SETUP_LINUX_FILE $VERSION/$GRID_SETUP_FILE $VERSION/$DB_SETUP_FIL
175175COPY $VERSION/$RUN_FILE $VERSION/$SETUPSSH $VERSION/$USER_SCRIPTS_FILE $VERSION/$STOP_FILE $VERSION/$CHECK_DB_FILE $VERSION/$REMOTE_LISTENER_FILE $VERSION/$INITSH $VERSION/$RESET_OS_PASSWORD $SCRIPT_DIR/
176176
177177COPY $RAC_SCRIPTS_DIR $SCRIPT_DIR/scripts
178-
178+ # hadolint ignore=SC2086
179179RUN chmod 755 $INSTALL_SCRIPTS/*.sh && \
180180 sync && \
181181 $INSTALL_DIR/install/$CHECK_SPACE_FILE && \
@@ -193,11 +193,12 @@ RUN chmod 755 $INSTALL_SCRIPTS/*.sh && \
193193
194194FROM rac-image-slim-${SLIMMING} AS builder
195195ARG SLIMMING
196+ # hadolint ignore=DL3006
196197ARG VERSION
197198COPY $VERSION/$INSTALL_GRID_BINARIES_FILE $VERSION/$GRID_SW_INSTALL_RSP $VERSION/$DB_SETUP_FILE $VERSION/$DB_INSTALL_RSP $VERSION/$INSTALL_DB_BINARIES_FILE $VERSION/$ENABLE_RAC_FILE $VERSION/$GRID_HOME_CLEANUP $VERSION/$ORACLE_HOME_CLEANUP $VERSION/$INSTALL_FILE_1* $VERSION/$INSTALL_FILE_2* $INSTALL_SCRIPTS/
198199
199200RUN chmod 755 $INSTALL_SCRIPTS/*.sh
200-
201+ # hadolint ignore=SC2086
201202# # Install software if SLIMMING is false
202203RUN if [ "${SLIMMING}x" != 'truex' ]; then \
203204 sed -e '/hard *memlock/s/^/#/g' -i /etc/security/limits.d/oracle-database-preinstall-19c.conf && \
@@ -213,12 +214,12 @@ RUN if [ "${SLIMMING}x" != 'truex' ]; then \
213214 su $DB_USER -c "$INSTALL_SCRIPTS/$ORACLE_HOME_CLEANUP" && \
214215 :; \
215216 fi
216-
217+ # hadolint ignore=SC3014
217218RUN if [ "${SLIMMING}x" == 'truex' ]; then \
218219 mkdir /u01 && \
219220 :; \
220221 fi
221-
222+ # hadolint ignore=SC2086
222223RUN rm -f $INSTALL_DIR/install/* && \
223224 sync
224225
@@ -229,9 +230,9 @@ RUN rm -f $INSTALL_DIR/install/* && \
229230# ############################################
230231
231232FROM rac-image-slim-${SLIMMING} AS final
232-
233+ # hadolint ignore=DL3006
233234COPY --from=builder /u01 /u01
234-
235+ # hadolint ignore=SC2086
235236RUN if [ "${SLIMMING}x" != 'truex' ]; then \
236237 $INVENTORY/orainstRoot.sh && \
237238 $GRID_HOME/root.sh && \
@@ -264,5 +265,5 @@ HEALTHCHECK --interval=2m --start-period=30m \
264265 CMD "$SCRIPT_DIR/scripts/main.py --checkracinst=true" >/dev/null || exit 1
265266
266267# Define default command to start Oracle Grid and RAC Database setup.
267-
268+ # hadolint ignore=DL3025
268269ENTRYPOINT /usr/bin/$INITSH
0 commit comments