IRIS Docker template not copying files
Using the Basic template for InterSystems IRIS development environment with Docker: github
If I use the Dockerfile_mini file and COPY a backup, the file shows up.
COPY ./20241104_1448.cbk /home/irisowner/dev
ARG IMAGE=intersystemsdc/iris-community
FROM $IMAGE
WORKDIR /home/irisowner/dev
COPY ./20241104_1448.cbk /home/irisowner/dev
...However if I use the Dockerfile with the additional features, the file is copied (via logs) but not on the container filesystem.
Is this a bug?
Product version: IRIS 2024.1
$ZV: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.1.1 (Build 347U) Thu Jul 18 2024 17:11:38 EDT
Discussion (2)1
Comments
no need for this COPY
if your docker-compose.yml contains
volumes:
- ./:/home/irisowner/dev
Do you perhaps have a script that can restore a database whilst the image is built?