Skip to content

Commit da2d6d8

Browse files
committed
fix: address CodeRabbit review on PR #20
- Fix USER directive: use 'user1' instead of 'user1:oracle' since the oracle group is not created when GIDOLR == GIDORA - Add --no-install-recommends to builder apt-get
1 parent 1d4c652 commit da2d6d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile.release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ENV DEBIAN_FRONTEND=noninteractive
5050
# System packages
5151
RUN set -eu && \
5252
apt-get update && \
53-
apt-get -y install file gcc g++ libaio1t64 libasan8 libubsan1 libtool libz-dev make patch unzip wget cmake git curl && \
53+
apt-get -y install --no-install-recommends file gcc g++ libaio1t64 libasan8 libubsan1 libtool libz-dev make patch unzip wget cmake git curl && \
5454
ln -s libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1
5555

5656
# RapidJSON (header-only, not needed at runtime)
@@ -219,7 +219,7 @@ RUN set -eu && \
219219
mkdir -p /opt/OpenLogReplicator/log /opt/OpenLogReplicator/tmp /opt/OpenLogReplicator/scripts && \
220220
chown -R user1:user1 /opt/OpenLogReplicator
221221

222-
USER user1:oracle
222+
USER user1
223223
RUN /opt/OpenLogReplicator/OpenLogReplicator --version
224224

225225
WORKDIR /opt/OpenLogReplicator

0 commit comments

Comments
 (0)