You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Prepare the Docker Container

  • Clone repository
  • Configure .env file
    • USER_NAME: Container user name. No need to change
    • GROUP_NAME=Container user name. No need to change
    • USER_ID: The user id to be assigned, this should be the same as your own local user (Find out with "id -u")
    • GROUP_ID: The group id to be assigned, this should be the same as your own local user (Find out with "id -g")
    • ALMA_DIR: Directory to install ACS (Will use some disk space ~2-4GB)
    • HOME_DIR: Home directory to configure .bashrc and other files that you want to survive container restart, besides your ACS installation and you repositories
    • REPO_DIR: Directory where you have placed the seii202105 repository
  • Build the image
  • Start a container
  • Connect multiple instances (Exec)
#Clone repository
git clone https://github.com/tstaig/seii202105.git
cd seii202105/acs-ws

#Configure .env file
vim .env #...

#Build the image
make acs

#Run container
#Container entry point, if you exit, all other exec instances will be lost
make run

#Connect to running container
#On a different console, you could start multiple instances
make exec

Build ACS

  • Run or connect to a container
  • Clone ACS repository (May take some time)
  • Execute installation scripts 
    • buildExtProds.sh (Takes around an hour)
    • buildACS.sh (Takes around 45 minutes)
make run
cd /Repos
git clone https://bitbucket.alma.cl/scm/asw/acs.git
git checkout acs/2021APR
/scripts/buildExtProds.sh
/scripts/buildACS.sh

Configure .bashrc

Add the following at the end of your .bashrc file:

if [ -f /alma/ACS-2021APR/config/.acs/.bash_profile.acs ]; then 
    source /alma/ACS-2021APR/config/.acs/.bash_profile.acs
fi



  • No labels