Skip to content

Commit

Permalink
Add AWS Client v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-buchan committed Jan 9, 2025
1 parent 20770dd commit 8a503cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/oracle-observer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN chown -R oracle:oinstall /home/oracle && \
usermod -d /home/oracle oracle && \
usermod -s /bin/bash oracle

RUN dnf -y install make binutils glibc-devel zip
RUN dnf -y install make binutils glibc-devel zip less

RUN mkdir -p ${ORACLE_HOME} && \
chown -R oracle:oinstall /u01
Expand All @@ -26,6 +26,11 @@ RUN unzip LINUX.X64_193000_client.zip
RUN echo "inventory_loc=/u01/app/oracle/oraInventory" > /etc/oraInst.loc
RUN echo "inst_group=oinstall" >> /etc/oraInst.loc

# Install v2 of AWS CLI (v1 is installed by default)
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN /opt/aws/install

USER oracle:oinstall

WORKDIR /home/oracle
Expand All @@ -44,6 +49,7 @@ USER root

RUN ${ORACLE_HOME}/root.sh
RUN rm -rf /opt/client
RUN rm -rf /opt/aws

USER oracle:oinstall

Expand Down

0 comments on commit 8a503cb

Please sign in to comment.