diff options
author | Valentin Popov <valentin@popov.link> | 2024-07-09 22:27:35 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-07-09 22:27:35 +0300 |
commit | 2b3e41a4aba849cffd15dfe9e18fc0fc156fdef3 (patch) | |
tree | d51dc42ca9af11392809115f1fb0301c95912b10 | |
parent | 266747bae571a496b0805a6d1070c7fcd29757db (diff) | |
download | popov.link-2b3e41a4aba849cffd15dfe9e18fc0fc156fdef3.tar.xz popov.link-2b3e41a4aba849cffd15dfe9e18fc0fc156fdef3.zip |
Added Dev Container
-rw-r--r-- | .devcontainer/Dockerfile | 14 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 15 | ||||
-rw-r--r-- | .gitea/workflows/renovate.yml (renamed from .gitea/.gitea/workflows/renovate.yml) | 0 |
3 files changed, 29 insertions, 0 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..3d982d9 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,14 @@ +FROM mcr.microsoft.com/devcontainers/base:bookworm + +RUN apt-get update && apt-get install -y \ + curl \ + tar \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +ENV ZOLA_VERSION=0.19.1 + + RUN curl -L https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz -o zola.tar.gz \ + && tar -xzf zola.tar.gz \ + && mv zola /bin/zola \ + && rm zola.tar.gz
\ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..080109a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,15 @@ +{ + "name": "Zola Dev Container", + "build": { + "dockerfile": "Dockerfile" + }, + "forwardPorts": [ + 1111 + ], + "portsAttributes": { + "1111": { + "label": "Application", + "onAutoForward": "notify" + } + } +}
\ No newline at end of file diff --git a/.gitea/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index 5c3c468..5c3c468 100644 --- a/.gitea/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml |