From 4f2c4b840b8369eaaeaffb187fc48b4ac955583a Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Thu, 9 Apr 2026 03:20:20 +0000 Subject: [PATCH] chore: fix dockerfile paths, add issue templates and contributing guide --- .github/ISSUE_TEMPLATE/bug.yml | 32 +++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature.yml | 18 ++++++++++++++++ .github/ISSUE_TEMPLATE/question.yml | 11 ++++++++++ .github/pull_request_template.md | 3 +++ CONTRIBUTING.md | 3 +++ Dockerfile | 18 ++++++++-------- 7 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml create mode 100644 .github/pull_request_template.md create mode 100644 CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..5938feb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,32 @@ +name: Bug Report +description: Report a bug or unexpected behavior +labels: ["bug"] +body: + - type: textarea + id: description + attributes: + label: What happened? + description: A clear description of the bug. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What did you expect to happen? + validations: + required: false + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: How can we reproduce this? + validations: + required: false + - type: textarea + id: environment + attributes: + label: Environment + description: OS, Go version, kernel version, Firecracker version, etc. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..379987c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,18 @@ +name: Feature Request +description: Suggest an improvement or new feature +labels: ["enhancement"] +body: + - type: textarea + id: description + attributes: + label: What would you like? + description: Describe the feature or improvement. + validations: + required: true + - type: textarea + id: context + attributes: + label: Context + description: Why is this useful? What problem does it solve? + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..eaa62eb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,11 @@ +name: Question +description: Ask a question about usage or internals +labels: ["question"] +body: + - type: textarea + id: question + attributes: + label: Question + description: What would you like to know? + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..af0e94c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,3 @@ +Pull requests are not accepted. This repo is a read-only mirror synced from upstream. + +Please open an issue instead. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..41b986c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +This repository is a read-only mirror synced from a private upstream. + +Issues are welcome. Pull requests are not accepted. diff --git a/Dockerfile b/Dockerfile index 8faab11..1a03b08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,15 +84,15 @@ RUN useradd --create-home --shell /bin/bash node \ && ln -sf /usr/bin/nvim /usr/local/bin/vim \ && ln -sf /usr/bin/nvim /usr/local/bin/vi -COPY docker/guest/sshd_config /etc/ssh/sshd_config -COPY docker/guest/microagent-init.sh /usr/local/bin/microagent-init -COPY docker/guest/microagent-desktop-session.sh /usr/local/bin/microagent-desktop-session -COPY docker/guest/microagent-network-up.sh /usr/local/bin/microagent-network-up -COPY docker/guest/defaults/.zshrc /home/node/.zshrc -COPY docker/guest/defaults/.bashrc /home/node/.bashrc -COPY docker/guest/defaults/.profile /home/node/.profile -COPY docker/guest/terminfo/xterm-ghostty.terminfo /tmp/xterm-ghostty.terminfo -COPY docker/guest/terminfo/xterm-kitty.terminfo /tmp/xterm-kitty.terminfo +COPY sshd_config /etc/ssh/sshd_config +COPY microagent-init.sh /usr/local/bin/microagent-init +COPY microagent-desktop-session.sh /usr/local/bin/microagent-desktop-session +COPY microagent-network-up.sh /usr/local/bin/microagent-network-up +COPY defaults/.zshrc /home/node/.zshrc +COPY defaults/.bashrc /home/node/.bashrc +COPY defaults/.profile /home/node/.profile +COPY terminfo/xterm-ghostty.terminfo /tmp/xterm-ghostty.terminfo +COPY terminfo/xterm-kitty.terminfo /tmp/xterm-kitty.terminfo RUN chmod 755 /usr/local/bin/microagent-init /usr/local/bin/microagent-desktop-session /usr/local/bin/microagent-network-up \ && chown node:node /home/node/.zshrc /home/node/.bashrc /home/node/.profile \