test docker build

This commit is contained in:
Darren 2023-12-08 18:02:46 +08:00 committed by GitHub
parent cfc5b5b88b
commit 1c820875bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,8 +15,11 @@ ENV source_github_pages="https://websoft9.github.io/websoft9"
RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \ RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \
git clone --depth=1 $library_repo && \ git clone --depth=1 $library_repo && \
mv docker-library w9library && \ mv docker-library w9library && \
rm -rf w9library/.github && \ rm -rf w9library/.github
if [ ! -f ./media.zip ]; then \
wget $websoft9_artifact/plugin/media/media-latest.zip -O ./media.zip \
fi && \
unzip media.zip
# supervisor # supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf