Skip to content

Commit

Permalink
[ALS-5924] No custom paths inside docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina authored and Luke-Sikina committed Mar 13, 2024
1 parent 7715970 commit ea09f22
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions setEnv.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
#!/bin/bash


if [ ! $DOCKER_CONFIG_DIR ] ; then
export DOCKER_CONFIG_DIR="/usr/local/docker-config"
fi


if ! cmp -s "$DOCKER_CONFIG_DIR/httpd/httpd-vhosts.conf" "ui/httpd-vhosts.conf" ; then
mv $DOCKER_CONFIG_DIR/httpd/httpd-vhosts.conf $DOCKER_CONFIG_DIR/httpd/httpd-vhosts.conf.`date +%F_%T`
cp ui/httpd-vhosts.conf $DOCKER_CONFIG_DIR/httpd/httpd-vhosts.conf
if ! cmp -s "/usr/local/docker-config/httpd/httpd-vhosts.conf" "ui/httpd-vhosts.conf" ; then
mv /usr/local/docker-config/httpd/httpd-vhosts.conf /usr/local/docker-config/httpd/httpd-vhosts.conf.`date +%F_%T`
cp ui/httpd-vhosts.conf /usr/local/docker-config/httpd/httpd-vhosts.conf
fi


0 comments on commit ea09f22

Please sign in to comment.