Skip to content
Permalink
Browse files

fix propagation of env vars downstream

  • Loading branch information
pcaskey committed May 29, 2020
1 parent 5e4307c commit 6c9f7712810cc0164ccdd9d8fab9c033108b74a9
Showing with 5 additions and 1 deletion.
  1. +1 −1 Dockerfile
  2. +4 −0 container_files/system/startup.sh
@@ -10,7 +10,7 @@ ENV TOMCAT_MAJOR=9 \
##shib-idp \
VERSION=4.0.0 \
##TIER \
TIERVERSION=20200518 \
TIERVERSION=20200529 \
#################### \
#### OTHER VARS #### \
#################### \
@@ -1,5 +1,9 @@
#!/bin/sh

#set env vars for cron jobs
# this script creates /opt/tier/env.bash which is sourced by the cron jobs' scripts
/opt/tier/setenv.sh

#for passed-in env vars, remove spaces and replace any ; with : in usertoken env var since we will use ; as a delimiter
export USERTOKEN="${USERTOKEN//;/:}"
export USERTOKEN="${USERTOKEN// /}"

0 comments on commit 6c9f771

Please sign in to comment.
You can’t perform that action at this time.