2023-05-05 09:24:28 +00:00
|
|
|
# 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
|
2023-03-24 17:26:49 +00:00
|
|
|
|
|
|
|
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine
|
2023-05-05 09:24:28 +00:00
|
|
|
# hadolint ignore=DL3018,DL3013
|
2023-03-31 16:14:39 +00:00
|
|
|
RUN apk add --no-cache \
|
2023-03-24 17:26:49 +00:00
|
|
|
cairo-dev \
|
|
|
|
freetype-dev \
|
|
|
|
libffi-dev \
|
|
|
|
jpeg-dev \
|
|
|
|
libpng-dev \
|
2023-03-31 16:14:39 +00:00
|
|
|
zlib-dev \
|
|
|
|
bash \
|
2023-05-05 09:24:28 +00:00
|
|
|
coreutils \
|
|
|
|
python3 \
|
|
|
|
py3-pip \
|
|
|
|
py3-wheel \
|
|
|
|
shellcheck \
|
|
|
|
&& pip3 install --no-cache \
|
2023-03-31 16:43:12 +00:00
|
|
|
mkdocs-material \
|
|
|
|
mkdocs-redirects \
|
2023-03-24 17:26:49 +00:00
|
|
|
mkdocs-git-revision-date-localized-plugin \
|
|
|
|
pillow \
|
2023-03-31 16:14:39 +00:00
|
|
|
cairosvg
|