File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM debian:bookworm-slim
2
2
RUN apt-get update \
3
- && apt-get install -y make hugo nodejs npm \
3
+ && apt-get install -y make nodejs npm curl ca-certificates \
4
4
&& rm -rf /var/lib/apt/lists/*
5
5
6
+ ARG HUGO_VERSION=0.147.2
7
+ ARG HUGO_RELEASE=https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}
8
+ RUN ARCH=$(dpkg --print-architecture) && \
9
+ if [ "$ARCH" = "amd64" ]; then HUGO_ARCH="64bit" ; \
10
+ elif [ "$ARCH" = "arm64" ]; then HUGO_ARCH="ARM64" ; \
11
+ else echo "Unsupported architecture: $ARCH" ; exit 1; fi && \
12
+ curl -L ${HUGO_RELEASE}/hugo_extended_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz \
13
+ | tar -xz -C /usr/local/bin hugo
14
+
6
15
COPY assets /site/assets
7
16
COPY config /site/config
8
17
COPY content /site/content
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ languageCode = 'en-us'
2
2
title = ' Reference documentation for JSON Schema'
3
3
staticDir = [ ' ./vendor/bootstrap-icons/font/fonts' , ' ./static' ]
4
4
5
- paginate = 100000000
6
5
[pagination ]
7
6
pagerSize = 100000000
8
7
You can’t perform that action at this time.
0 commit comments