File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM alpine
2
+ ENV HUGO_VERSION=0.147.9
3
+ ENV GO_VERSION=1.22.4-r0
4
+ ENV NODE_VERSION=20.14.0
5
+
6
+ # Install base dependencies
7
+ RUN apk add --no-cache \
8
+ curl git bash make libc6-compat \
9
+ openssl unzip tar npm nodejs \
10
+ go
11
+
12
+ # Install Hugo Extended
13
+ RUN curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz \
14
+ | tar -xz -C /usr/local/bin hugo
15
+
16
+ # Verify tools
17
+ RUN hugo version && go version && node -v && npm -v
18
+
19
+ COPY . .
20
+
21
+ # Build Academy pages
22
+ RUN make academy-setup
23
+ RUN make academy-prod
Original file line number Diff line number Diff line change @@ -43,3 +43,7 @@ update-module:
43
43
fi && \
44
44
echo " Updating Hugo module: $( module) to version $( version) " && \
45
45
hugo mod get $(module ) @$(version )
46
+
47
+ sync-with-cloud :
48
+ mkdir -p ../meshery-cloud/academy
49
+ rsync -av --delete public/ ../meshery-cloud/academy/
You can’t perform that action at this time.
0 commit comments