Description
I built the submarine cicd image unsuccessfully with this shell script build_and_start_cicd_image.sh
[ryan@ryan-lo cicd (master)]$ ./build_and_start_cicd_image.sh Building Submarine CI/CD Image. [+] Building 19.6s (10/10) FINISHED => [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/ubuntu:18.04 1.4s => [internal] load build context 0.1s => => transferring context: 30B 0.0s => [1/6] FROM docker.io/library/ubuntu:18.04@sha256:122f506735a26c0a1aff2363335412cfc4f84de38326356d31ee00c2cbe52171 0.0s => CACHED [2/6] RUN apt-get update && apt-get install -y wget vim git python-pip zlib1g-dev libssl-dev && wget ht 0.0s => CACHED [3/6] RUN git clone https://gitbox.apache.org/repos/asf/submarine.git && cd submarine && git remote ren 0.0s => CACHED [4/6] ADD entry.sh /entry.sh 0.0s => CACHED [5/6] RUN apt-get update && apt-get -y install bundler 0.0s => ERROR [6/6] RUN cd / && git clone https://gitbox.apache.org/repos/asf/submarine-site.git && cd /submarine-sit 18.0s ------ > [6/6] RUN cd / && git clone https://gitbox.apache.org/repos/asf/submarine-site.git && cd /submarine-site && bundle update: #10 0.437 Cloning into 'submarine-site'... #10 17.75 Could not locate Gemfile ------ executor failed running [/bin/sh -c cd / && git clone https://gitbox.apache.org/repos/asf/submarine-site.git && cd /submarine-site && bundle update]:
Because we migrated the codebase of submarine-site from "Jekyll" to "Docusaurus", we should modify submarine/dev-support/cicd/Dockerfile (Maybe there are other files needed.)