DeanAyalon / fms-docker

A repository for building Docker containers running FileMaker Server and Devin.fm
2 stars 2 forks source link

Devin Installation Script #8

Open DeanAyalon opened 3 months ago

DeanAyalon commented 3 months ago

Current State

Currently, the installation script enters the fms-prep container, and instruct the user to perform

cd /tmp/install_devin
./install_devin_unix.sh

Goal

I'd like this to be automatic, but it does not work unless executed from the context of /tmp/install_devin

Solutions

Execute from the correct context

Add -w /tmp/install_devin

docker exec -itu0 -w /tmp/install_devin <command>

This works well, but the installation script should probably work from any context anyway.

So:

Modify the installation script

Set the execution context to the installation directory

cd "$(dirname "$0")"
DeanAyalon commented 3 months ago

Added install_devin_unix repository with modified installation script to be able to execute correctly from within any working directory

File sent to David from Devin.fm for official implementation