Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM ghcr.io/gohugoio/hugo:latest
|
||||
|
||||
USER root
|
||||
# The image's "hugo" user is a system account (adduser -S) with shell /sbin/nologin,
|
||||
# since it's only meant to run the hugo binary. VS Code's integrated terminal needs
|
||||
# an interactive shell, so give it one.
|
||||
RUN apk add --no-cache git-lfs && \
|
||||
sed -i 's#/sbin/nologin#/bin/sh#' /etc/passwd
|
||||
USER hugo:hugo
|
||||
Reference in New Issue
Block a user