mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-08 09:01:55 +00:00
11 lines
191 B
Bash
11 lines
191 B
Bash
|
#! /bin/bash
|
||
|
|
||
|
## replace config
|
||
|
: ${EXTRA_CONF_DIR:=/config/hadoop}
|
||
|
|
||
|
if [ -d "$EXTRA_CONF_DIR" ]; then
|
||
|
cp $EXTRA_CONF_DIR/* /usr/local/hadoop/etc/hadoop/
|
||
|
fi
|
||
|
|
||
|
while true; do sleep 1000; done
|