website/docker/Dockerfile
Andrei Jiroh Halili 4df05ae9c4 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>
2023-05-05 09:24:28 +00:00

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