This commit is contained in:
qiaofeng1227 2023-10-30 14:28:08 +08:00
parent 564f4e45d7
commit 62714a63f2

View File

@ -20,17 +20,13 @@ RUN wget $docker_library_repo/archive/refs/tags/$LIBRARY_VERSION.zip -O ./librar
unzip library.zip && \ unzip library.zip && \
mv docker-library-* w9library && \ mv docker-library-* w9library && \
rm -rf w9library/.github && \ rm -rf w9library/.github && \
wget $media_repo/archive/refs/tags/$MEDIA_VERSION.zip -O ./media.zip && \ wget $media_repo/archive/refs/tags/$MEDIA_VERSION.zip -O ./media.zip && \
unzip media.zip && \ unzip media.zip && \
mv media-* w9media && \ mv media-* w9media && \
rm -rf w9media/.github && \ rm -rf w9media/.github && \
# Prepare Media and master data from Contentful
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 && \
cp redoc.standalone.js swagger-ui/dist && \ cp redoc.standalone.js swagger-ui/dist && \
git clone --depth=1 $websoft9_repo /w9source git clone --depth=1 $websoft9_repo /w9source
COPY ./w9media ./media COPY ./w9media ./media