update docker image (#4829)

Co-authored-by: Dave Protasowski <dprotaso@gmail.com>
This commit is contained in:
Knative Prow Robot 2022-03-15 14:55:59 -07:00 committed by GitHub
parent d8a09f428d
commit e73d7e6758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,7 @@
FROM squidfunk/mkdocs-material
RUN apk add --no-cache --update nodejs npm bash hugo curl
RUN apk add --no-cache --update nodejs npm bash hugo curl \
build-base libffi-dev
WORKDIR /site
COPY ./package*.json /site/

8
hack/docker/build-image.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
SCRIPT_DIR=$(cd $(dirname "$0"); pwd -P)
set -x
docker build -t ghcr.io/knative/knative-docs:latest -f $SCRIPT_DIR/Dockerfile $SCRIPT_DIR/../..

View File

@ -4,3 +4,6 @@ mkdocs-macros-plugin>=0.5.12
mkdocs-awesome-pages-plugin>=2.5
mkdocs-redirects>=1.0.3
mkdocs-rss-plugin>=0.18.0
pygithub==1.55
semver==2.13.0