-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (24 loc) · 951 Bytes
/
Dockerfile
File metadata and controls
30 lines (24 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM golang:1.26-trixie
LABEL maintainer="Julian Nonino <noninojulian@gmail.com>"
# renovate: datasource=github-releases depName=gohugoio/hugo
ARG HUGO_VERSION=v0.160.1
# renovate: datasource=github-releases depName=sass/dart-sass
ARG DART_SASS_VERSION=1.99.0
WORKDIR /tmp
# Install
# Git https://git-scm.com/
# Make https://www.gnu.org/software/make/
# Node.js https://nodejs.org/
# Task https://taskfile.dev/
RUN curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | bash && \
apt update && \
apt install -y git make nodejs npm task && \
apt clean
# Install Hugo Cli - https://gohugo.io/
COPY scripts/install_hugo.sh install_hugo.sh
RUN ./install_hugo.sh
# Install Dart: Sass - https://sass-lang.com/dart-sass/
COPY scripts/install-dart-sass.sh install-dart-sass.sh
RUN ./install-dart-sass.sh
# Install Post.Css - https://postcss.org/
RUN npm install --global postcss postcss-cli autoprefixer