I’m tryng to create a new Docker build locally that includes Ubuntu and InterBase.
The docker file I created is as follows and the installer starts up for InterBase, but fails with: “The command '/bin/sh -c $IB_INSTALL_ROOT/Disk1/InstData/Linux/VM/ib_install_x86_64.bin” returned a non-zero code: 1
If I comment out the call to ib_install_x86_64.bin, the build works, and I can run the command manually after the build, in the created image using sh or bash.
Pull base image.
FROM ubuntu:14.04
Set environment variables.
ENV IB_PATH /usr/interbase
ENV IB_INSTALL_ROOT /InterBase2017
ENV IB_PORT 3050
Add local files to install files folder in docker. (Install files and License)
COPY InterBase2017/. $IB_INSTALL_ROOT/.
Set the working directory to /InterBase
WORKDIR /usr/interbase
Install InterBase 64bit
RUN $IB_INSTALL_ROOT/Disk1/InstData/Linux/VM/ib_install_x86_64.bin
Open Port for InterBase
EXPOSE $IB_PORT
Start InterBase Server
RUN bash -c $IB_PATH/bin/ibmgr -start
Define default command.
CMD [“bash”]
I’ve played a lot with the path settings, and know the files copied in install with the issued command. Any suggestions on how to resolve this build error?