Skip to content

Commit 2adeaa0

Browse files
committed
dockerfiel lint fix
1 parent 55a9874 commit 2adeaa0

File tree

1 file changed

+4
-2
lines changed
  • OracleDatabase/RAC/OracleRealApplicationClusters/samples/applypatch/latest

1 file changed

+4
-2
lines changed

OracleDatabase/RAC/OracleRealApplicationClusters/samples/applypatch/latest/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ARG RAC_SLIM_IMAGE=localhost/oracle/database-rac:19.3.0-slim
2121

2222
# Pull base image
2323
# ---------------
24+
# hadolint ignore=DL3006
2425
FROM $BASE_RAC_IMAGE as builder
2526

2627
# Argument to control removal of components not needed after db software installation
@@ -64,14 +65,15 @@ RUN chown -R grid:oinstall $PATCH_INSTALL_DIR/*.sh && \
6465
USER oracle
6566

6667
RUN $PATCH_INSTALL_DIR/$DB_PATCH_FILE $PATCH_INSTALL_DIR
67-
68+
# hadolint ignore=DL3002
6869
USER root
6970

7071
RUN $PATCH_INSTALL_DIR/$FIXUP_PREQ_FILE && \
7172
rm -rf /etc/oracle && \
7273
rm -rf $PATCH_INSTALL_DIR
7374

7475
#####################
76+
# hadolint ignore=DL3006
7577
FROM $RAC_SLIM_IMAGE AS final
7678

7779
RUN if [ -d "/u01" ]; then \
@@ -89,5 +91,5 @@ HEALTHCHECK --interval=2m --start-period=30m \
8991
CMD "$SCRIPT_DIR/scripts/main.py --checkracinst=true" >/dev/null || exit 1
9092

9193
# Define default command to start Oracle Grid and RAC Database setup.
92-
94+
# hadolint ignore=DL3025
9395
ENTRYPOINT /usr/bin/$INITSH

0 commit comments

Comments
 (0)