RAMPART + docker + gridion
#!/bin/bash | |
USER_ID=${LOCAL_USER_ID:-9001} | |
echo "starting with UID : $USER_ID" | |
echo "creating RAMPART user" | |
useradd --shell /bin/bash -u $USER_ID -o -c "" -m rampart | |
echo "raising RAMPART on $CLIENT $SERVER" | |
gosu rampart bash -c 'cd /data && /opt/rampart/rampart.js --verbose --clearAnnotated --protocol /opt/artic-ncov2019/rampart/ --basecalledPath /data/fastq_pass --ports $CLIENT $SERVER' |
#!/bin/bash | |
sudo docker run -it -e LOCAL_USER_ID=`id -u $USER` --mount type=bind,source="$(pwd)",target=/data/ --mount type=bind,source=/PATH/TO/override_docker_workflow.sh,target=/opt/docker_workflow.sh -p $1:$1 -p $2:$2 -e CLIENT=$1 -e SERVER=$2 ontresearch/artic_rampart:0.1.1 |
This comment has been minimized.
This comment has been minimized.
Hey @sagrudd! Thanks for taking a look. It seems the |
This comment has been minimized.
This comment has been minimized.
Cool - I'll test a little and comment further in a bit - |
This comment has been minimized.
This comment has been minimized.
I have pushed I will build the corresponding MinIT image and push that too - will tag both with :latest tomorrow? Would welcome any feedback - cheers - S |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Hei Sam - adding these thoughts to the current docker ... the container only exposes 3001 and 3000 by default - would you like any other docker ports exposed to the host?