Commit 8a503cb 1 parent 20770dd commit 8a503cb Copy full SHA for 8a503cb
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN chown -R oracle:oinstall /home/oracle && \
12
12
usermod -d /home/oracle oracle && \
13
13
usermod -s /bin/bash oracle
14
14
15
- RUN dnf -y install make binutils glibc-devel zip
15
+ RUN dnf -y install make binutils glibc-devel zip less
16
16
17
17
RUN mkdir -p ${ORACLE_HOME} && \
18
18
chown -R oracle:oinstall /u01
@@ -26,6 +26,11 @@ RUN unzip LINUX.X64_193000_client.zip
26
26
RUN echo "inventory_loc=/u01/app/oracle/oraInventory" > /etc/oraInst.loc
27
27
RUN echo "inst_group=oinstall" >> /etc/oraInst.loc
28
28
29
+ # Install v2 of AWS CLI (v1 is installed by default)
30
+ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
31
+ RUN unzip awscliv2.zip
32
+ RUN /opt/aws/install
33
+
29
34
USER oracle:oinstall
30
35
31
36
WORKDIR /home/oracle
@@ -44,6 +49,7 @@ USER root
44
49
45
50
RUN ${ORACLE_HOME}/root.sh
46
51
RUN rm -rf /opt/client
52
+ RUN rm -rf /opt/aws
47
53
48
54
USER oracle:oinstall
49
55
You can’t perform that action at this time.
0 commit comments