mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
test docker build
This commit is contained in:
parent
3666773338
commit
48f2af9461
2
.github/workflows/media.yml
vendored
2
.github/workflows/media.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Zip Archive
|
- name: Create Zip Archive
|
||||||
run: |
|
run: |
|
||||||
rsync -av json logos screenshots docs media
|
rsync -av json logos screenshots media
|
||||||
zip -r media.zip media/
|
zip -r media.zip media/
|
||||||
|
|
||||||
- name: Upload media.zip to artifacts
|
- name: Upload media.zip to artifacts
|
||||||
|
@ -15,11 +15,12 @@ ENV source_github_pages="https://websoft9.github.io/websoft9"
|
|||||||
COPY media.zip /websoft9
|
COPY media.zip /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 && \
|
||||||
|
# download docker-library
|
||||||
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 && \
|
||||||
ls -la && \
|
ls -la && \
|
||||||
unzip media.zip && \
|
unzip media.zip && rm -rf media.zip \
|
||||||
mv media* w9media && \
|
mv media* w9media && \
|
||||||
git clone --depth=1 https://github.com/swagger-api/swagger-ui.git && \
|
git clone --depth=1 https://github.com/swagger-api/swagger-ui.git && \
|
||||||
wget https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js && \
|
wget https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js && \
|
||||||
|
Loading…
Reference in New Issue
Block a user