Initial commit

This commit is contained in:
2026-08-08 11:41:41 +02:00
commit 487cc8e2dd
20 changed files with 201 additions and 0 deletions
+9
View File
@@ -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
+14
View File
@@ -0,0 +1,14 @@
{
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"version": "2.5.9",
"resolved": "ghcr.io/devcontainers/features/common-utils@sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a",
"integrity": "sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a"
},
"ghcr.io/devcontainers/features/git-lfs:1": {
"version": "1.2.5",
"resolved": "ghcr.io/devcontainers/features/git-lfs@sha256:71c2b371cf12ab7fcec47cf17369c6f59156100dad9abf9e4c593049d789de72",
"integrity": "sha256:71c2b371cf12ab7fcec47cf17369c6f59156100dad9abf9e4c593049d789de72"
}
}
}
+28
View File
@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
"name": "Förderverein Niere e.V.",
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],
"service": "server",
"workspaceFolder": "/project",
"postCreateCommand": "git lfs install",
"customizations": {
"vscode": {
"extensions": [
"arr.marksman",
"mjmlio.vscode-mjml",
"davidanson.vscode-markdownlint",
"ecmel.vscode-html-css",
"redhat.vscode-yaml",
"yzhang.markdown-all-in-one",
"jsynowiec.vscode-insertdatestring",
"netcorext.uuid-generator",
"motivesoft.vscode-uuid-generator",
"jsynowiec.vscode-insertdatestring"
]
}
}
}
+19
View File
@@ -0,0 +1,19 @@
services:
# Update this to the name of the service you want to work with in your docker-compose.yml file
server:
# Build on top of the hugo image so git-lfs can be installed as root at build time
# (the base image, and this override, run as the non-root "hugo" user at container
# runtime, so postCreateCommand can no longer apk add anything).
build:
context: .
dockerfile: .devcontainer/Dockerfile
# Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust.
# cap_add:
# - SYS_PTRACE
# security_opt:
# - seccomp:unconfined
# Overrides default command so things don't shut down after the process ends.
# command: sleep infinity