Oracle Databaseの学習環境をDockerで構築したいのですがエラーが出て進みません@M1 Mac
解決したいこと
上記のような記事に憧れて環境構築を行なっているのですが、下記のようなエラーが出て行き詰まっています。
発生している問題・エラー
==========================
Building image 'oracle/database:21.3.0-ee' ...
[+] Building 15.6s (9/14)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/oraclelinux:7-slim 2.0s
=> [auth] library/oraclelinux:pull token for registry-1.docker.io 0.0s
=> CACHED [base 1/4] FROM docker.io/library/oraclelinux:7-slim@sha256:99 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 901B 0.0s
=> [base 2/4] COPY setupLinuxEnv.sh checkSpace.sh /opt/install/ 0.0s
=> [base 3/4] COPY runOracle.sh startDB.sh createDB.sh createObserver.sh 0.0s
=> ERROR [base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && 13.5s
------
> [base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install:
#9 0.225 Loaded plugins: ovl
#9 18.06 No package oracle-database-preinstall-21c available.
#9 18.19 Resolving Dependencies
#9 18.19 --> Running transaction check
#9 18.19 ---> Package openssl.aarch64 1:1.0.2k-21.0.3.el7_9 will be installed
#9 18.19 --> Processing Dependency: make for package: 1:openssl-1.0.2k-21.0.3.el7_9.aarch64
#9 18.26 --> Running transaction check
#9 18.26 ---> Package make.aarch64 1:3.82-24.el7 will be installed
#9 18.28 --> Finished Dependency Resolution
#9 18.29
#9 18.29 Dependencies Resolved
#9 18.29
#9 18.29 ================================================================================
#9 18.29 Package Arch Version Repository Size
#9 18.29 ================================================================================
#9 18.29 Installing:
#9 18.29 openssl aarch64 1:1.0.2k-21.0.3.el7_9 ol7_latest 487 k
#9 18.29 Installing for dependencies:
#9 18.29 make aarch64 1:3.82-24.el7 ol7_latest 415 k
#9 18.29
#9 18.29 Transaction Summary
#9 18.29 ================================================================================
#9 18.29 Install 1 Package (+1 Dependent package)
#9 18.29
#9 18.29 Total download size: 901 k
#9 18.29 Installed size: 1.9 M
#9 18.29 Downloading packages:
#9 18.57 --------------------------------------------------------------------------------
#9 18.57 Total 3.1 MB/s | 901 kB 00:00
#9 18.57 Running transaction check
#9 18.58 Running transaction test
#9 18.58 Transaction test succeeded
#9 18.58 Running transaction
#9 18.64 Installing : 1:make-3.82-24.el7.aarch64 1/2
#9 18.90 Installing : 1:openssl-1.0.2k-21.0.3.el7_9.aarch64 2/2
#9 18.91 Verifying : 1:make-3.82-24.el7.aarch64 1/2
#9 18.92 Verifying : 1:openssl-1.0.2k-21.0.3.el7_9.aarch64 2/2
#9 18.93
#9 18.93 Installed:
#9 18.93 openssl.aarch64 1:1.0.2k-21.0.3.el7_9
#9 18.93
#9 18.93 Dependency Installed:
#9 18.93 make.aarch64 1:3.82-24.el7
#9 18.93
#9 18.93 Complete!
#9 19.02 ln: target '/home/oracle/' is not a directory: No such file or directory
------
executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh && sync && $INSTALL_DIR/$CHECK_SPACE_FILE && $INSTALL_DIR/$SETUP_LINUX_FILE && rm -rf $INSTALL_DIR]: exit code: 1
ERROR: Oracle Database container image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the build operation.
関係ありそうなキーワード
- シンボリックリンク
- glob変数
- ワイルドカードの仕様
- ユーザ権限
全く同じ悩みを持った方がいらっしゃってる・・・・(解決策落ちてないかな?)
資格取得に向けて意識が高まっているところで出鼻を挫かれて悲しくなりました。
どなたか解決策をご教示いただけないでしょうか?
1