Fix docker-entrypoint.sh error (#4812)

Co-authored-by: 亓杨 <qiyang@enmonster.com>
This commit is contained in:
qiyang 2020-05-22 21:06:32 +08:00 committed by GitHub
parent a10e044932
commit 7b9dfa2399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@ EXT_LIB_DIR=/skywalking/ext-libs
EXT_CONFIG_DIR=/skywalking/ext-config
# Override configuration files
cp -vfR ${EXT_CONFIG_DIR}/ config/
if [ "$(ls -A $EXT_CONFIG_DIR)" ]; then
cp -vfR ${EXT_CONFIG_DIR}/* config/
fi
CLASSPATH="config:$CLASSPATH"
for i in oap-libs/*.jar