mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +00:00
Andrei Jiroh Halili
4df05ae9c4
Gonna start over on the workspace due to technical diffculties. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
30 lines
830 B
Docker
30 lines
830 B
Docker
# 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 \
|
|
libffi-dev \
|
|
jpeg-dev \
|
|
libpng-dev \
|
|
zlib-dev \
|
|
bash \
|
|
coreutils \
|
|
python3 \
|
|
py3-pip \
|
|
py3-wheel \
|
|
shellcheck \
|
|
&& pip3 install --no-cache \
|
|
mkdocs-material \
|
|
mkdocs-redirects \
|
|
mkdocs-git-revision-date-localized-plugin \
|
|
pillow \
|
|
cairosvg
|