mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-05-12 00:23:10 +00:00
chore(global): usual commit-them-all to avoid data loss
Gonna start over on the workspace due to technical diffculties. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
81902a0b3c
commit
4df05ae9c4
18 changed files with 224 additions and 32 deletions
|
@ -1,6 +1,14 @@
|
|||
FROM python:alpine3.17
|
||||
# Since hadolint isn't in the package repos for Alpineyet, we'll copying from the offical
|
||||
# Docker image instead.
|
||||
FROM ghcr.io/hadolint/hadolint:latest-alpine AS hadolint-binary
|
||||
|
||||
# Since we're building against edge at risk
|
||||
FROM alpine:edge AS buildkit
|
||||
|
||||
COPY --stage=hadolint-binary /bin/hadolint /usr/bin/hadolint
|
||||
|
||||
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine
|
||||
# hadolint ignore=DL3018,DL3013
|
||||
RUN apk add --no-cache \
|
||||
cairo-dev \
|
||||
freetype-dev \
|
||||
|
@ -9,13 +17,14 @@ RUN apk add --no-cache \
|
|||
libpng-dev \
|
||||
zlib-dev \
|
||||
bash \
|
||||
coreutils
|
||||
RUN /usr/local/bin/pip3 install \
|
||||
coreutils \
|
||||
python3 \
|
||||
py3-pip \
|
||||
py3-wheel \
|
||||
shellcheck \
|
||||
&& pip3 install --no-cache \
|
||||
mkdocs-material \
|
||||
mkdocs-redirects \
|
||||
mkdocs-git-revision-date-localized-plugin \
|
||||
pillow \
|
||||
cairosvg
|
||||
|
||||
ENTRYPOINT [ "mkdocs" ]
|
||||
CMD [ "serve" ]
|
Loading…
Add table
Add a link
Reference in a new issue