build(docker): more chaotic fizes on CI image

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-03-31 16:43:12 +00:00
parent 1dd427afb9
commit a9761cf4f2
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,7 @@
image: image:
name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:commit-6c3c12ebba8921d9f7afc66681073aec5500a809 name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:commit-6c3c12ebba8921d9f7afc66681073aec5500a809
entrypoint:
- /bin/bash
variables: variables:
DEBUG: "1" DEBUG: "1"

View file

@ -1,4 +1,4 @@
FROM squidfunk/mkdocs-material FROM python:alpine3.17
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine # https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine
RUN apk add --no-cache \ RUN apk add --no-cache \
@ -10,11 +10,12 @@ RUN apk add --no-cache \
zlib-dev \ zlib-dev \
bash \ bash \
coreutils coreutils
RUN pip3 install \ RUN /usr/local/bin/pip3 install \
mkdocs-material \
mkdocs-redirects \
mkdocs-git-revision-date-localized-plugin \ mkdocs-git-revision-date-localized-plugin \
pillow \ pillow \
cairosvg cairosvg
COPY entrypoint.sh /usr/local/bin/entrypoint.sh ENTRYPOINT [ "mkdocs" ]
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
CMD [ "serve" ] CMD [ "serve" ]