|
|
@ -30,8 +30,8 @@ RUN \
|
|
|
|
jq \
|
|
|
|
jq \
|
|
|
|
git \
|
|
|
|
git \
|
|
|
|
ffmpeg \
|
|
|
|
ffmpeg \
|
|
|
|
python \
|
|
|
|
python3 \
|
|
|
|
python-pip && \
|
|
|
|
python3-pip && \
|
|
|
|
apt-get purge --auto-remove -y && \
|
|
|
|
apt-get purge --auto-remove -y && \
|
|
|
|
apt-get clean && \
|
|
|
|
apt-get clean && \
|
|
|
|
echo "************ setup SMA ************" && \
|
|
|
|
echo "************ setup SMA ************" && \
|
|
|
@ -46,8 +46,8 @@ RUN \
|
|
|
|
chgrp users ${SMA_PATH}/config/sma.log && \
|
|
|
|
chgrp users ${SMA_PATH}/config/sma.log && \
|
|
|
|
chmod g+w ${SMA_PATH}/config/sma.log && \
|
|
|
|
chmod g+w ${SMA_PATH}/config/sma.log && \
|
|
|
|
echo "************ install pip dependencies ************" && \
|
|
|
|
echo "************ install pip dependencies ************" && \
|
|
|
|
python -m pip install --user --upgrade pip && \
|
|
|
|
python3 -m pip install --user --upgrade pip && \
|
|
|
|
pip install -r ${SMA_PATH}/setup/requirements.txt
|
|
|
|
pip3 install -r ${SMA_PATH}/setup/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# copy local files
|
|
|
|
# copy local files
|
|
|
|