Closed markddrake closed 2 years ago
Dockerfiles have been updated. The following should work
BUILD
C:\Development\YADAMU>docker build --tag yadamu/git https://github.com/markddrake/YADAMU---Yet-Another-DAta-Migration-Utility.git
[+] Building 108.2s (12/12) FINISHED
=> [internal] load git source https://github.com/markddrake/YADAMU---Yet-Another-DAta-Migration-Utility.git 1.0s
=> [internal] load metadata for docker.io/library/node:17.1.0 1.8s
=> [1/8] FROM docker.io/library/node:17.1.0@sha256:22f1866405ad50bb1d141739596ba803aed073d618ab2ae6d5e66aedcf9261b5 0.0s
=> https://download.oracle.com/otn_software/linux/instantclient/213000/oracle-instantclient-basic-21.3.0.0.0-1.x86_64.rpm 0.2s
=> CACHED [2/8] WORKDIR /usr/src/YADAMU 0.0s
=> CACHED [3/8] ADD https://download.oracle.com/otn_software/linux/instantclient/213000/oracle-instantclient-basic-21.3.0.0.0-1.x86_64.rpm . 0.0s
=> [4/8] COPY src/package*.json ./ 0.1s
=> [5/8] RUN apt update && apt-get -y install libaio1 && apt-get -y install alien && alien -i --scripts ./oracle-instantclient-basic-21.3.0.0.0-1.x86_64.rpm && npm install --global electron && npm install 95.4s
=> [6/8] COPY src src 0.2s
=> [7/8] COPY bin bin 0.1s
=> [8/8] RUN cd bin && chmod +x /usr/src/YADAMU/bin/export.sh && ln -s /usr/src/YADAMU/bin/export.sh yadamuExport && chmod +x /usr/src/YADAMU/bin/import.sh && ln -s /usr/src/YADAMU/bin/import.sh yadamuImport && chmod +x /usr/src/YADAMU/bin/upload.sh && ln -s /usr/src/YADAMU/bin/upload.sh yadamuUpload && chmod +x /usr/src/YADAMU/b 0.6s
=> exporting to image 8.7s
=> => exporting layers 8.6s
=> => writing image sha256:6d0f6d8c69d78790c1ffd757b52e51c83990d4bc1ccf23ad6d0bd9c657ddf2e1 0.0s
=> => naming to docker.io/yadamu/git 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
C:\Development\YADAMU>
START CONTAINER
C:\Development\YADAMU>docker run --name YADAMU-GIT -d yadamu/git
29bceb53ec7ae1430a1bb5588d4e6a7282196c0ebc93ab4bd99dbb04caacbd15
RUN
C:\Development\YADAMU>docker exec -it YADAMU-GIT bash
root@29bceb53ec7a:/usr/src/YADAMU# yadamuImport
"IMPORT" requires that the following arguments ["TO_USER"] be provided on the command line
root@29bceb53ec7a:/usr/src/YADAMU#
Dockerfiles for building directly from GIT are outdated