test docker build

This commit is contained in:
Darren 2023-12-08 18:23:14 +08:00 committed by GitHub
parent 3666773338
commit 48f2af9461
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -68,7 +68,7 @@ jobs:
- name: Create Zip Archive
run: |
rsync -av json logos screenshots docs media
rsync -av json logos screenshots media
zip -r media.zip media/
- name: Upload media.zip to artifacts

View file

@ -15,11 +15,12 @@ ENV source_github_pages="https://websoft9.github.io/websoft9"
COPY media.zip /websoft9
RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \
# download docker-library
git clone --depth=1 $library_repo && \
mv docker-library w9library && \
rm -rf w9library/.github && \
ls -la && \
unzip media.zip && \
unzip media.zip && rm -rf media.zip \
mv media* w9media && \
git clone --depth=1 https://github.com/swagger-api/swagger-ui.git && \
wget https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js && \