We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a35643 commit 2302192Copy full SHA for 2302192
Dockerfile
@@ -71,15 +71,11 @@ RUN apk add --no-cache \
71
npm
72
73
RUN mkdir -p /var/hugo/bin /cache && \
74
- addgroup -Sg 1001 hugo && \
75
- adduser -Sg hugo -u 1001 -h /var/hugo hugo && \
76
- chown -R hugo: /var/hugo /cache /project && \
77
# For the Hugo's Git integration to work.
78
- runuser -u hugo -- git config --global --add safe.directory /project && \
+ git config --global --add safe.directory /project && \
79
# See https://github.com/gohugoio/hugo/issues/9810
80
- runuser -u hugo -- git config --global core.quotepath false
+ git config --global core.quotepath false
81
82
-USER hugo:hugo
83
ENV HUGO_CACHEDIR=/cache
84
ENV PATH="/var/hugo/bin:$PATH"
85
0 commit comments