lucernae / devcontainer-nix Goto Github PK
View Code? Open in Web Editor NEWVSCode devcontainer for Nix
License: MIT License
VSCode devcontainer for Nix
License: MIT License
Will capture the screenshots when it happens again.
Following the instruction for creating the .devcontainer using the CLI tool. I encound the following error when I try to open my project directory in the devcontainer.
[31584 ms] Command in container failed: '/path/to/.vscode-server/bin/e170252f762678dec6ca2cc69aba1570769a5d39/bin/helpers/check-requirements.sh'
[31584 ms] /path/to/.vscode-server/bin/e170252f762678dec6ca2cc69aba1570769a5d39/bin/helpers/check-requirements.sh: line 45: getconf: command not found
[31584 ms] Exit code 127
[31654 ms]
[31654 ms]
It seems that the getconf
command is not available inside the container.
Darwin MacBook.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:33:31 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8112 arm64
Client:
Cloud integration: v1.0.35+desktop.13
Version: 26.0.0
API version: 1.45
Go version: go1.21.8
Git commit: 2ae903e
Built: Wed Mar 20 15:14:46 2024
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.29.0 (145265)
Engine:
Version: 26.0.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.8
Git commit: 8b79278
Built: Wed Mar 20 15:18:02 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.28
GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.devcontainer/default/docker-compose.yml
.devcontainer/development/docker-compose.yml
.devcontainer/docker-compose.yml
ghcr.io/lucernae/devcontainer-nix v1
.devcontainer/nixos-arion/docker-compose.build.yml
.devcontainer/nixos-arion/docker-compose.override.yml
.devcontainer/nixos/docker-compose.build.yml
.devcontainer/nixos/docker-compose.yml
docker-compose.flake.yml
docker-compose.yml
templates/src/nix/.devcontainer/docker-compose.yml
.devcontainer/Dockerfile
.devcontainer/development/Dockerfile
.devcontainer/nixos/Dockerfile
Dockerfile
Dockerfile-flake
templates/src/nix/.devcontainer/Dockerfile
.github/actions/smoke-test/action.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
.github/workflows/build-base.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/setup-qemu-action v2
docker/setup-buildx-action v2
cachix/install-nix-action v23@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011
docker/login-action v2
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/login-action v2
.github/workflows/build-push-latest-flake.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/setup-qemu-action v2
docker/setup-buildx-action v2
cachix/install-nix-action v23@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011
docker/login-action v2
docker/metadata-action v4
docker/build-push-action v4
.github/workflows/build-push-latest-nixos-arion.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/setup-qemu-action v2
docker/setup-buildx-action v2
cachix/install-nix-action v23@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011
actions/cache v3
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/setup-qemu-action v2
docker/setup-buildx-action v2
docker/login-action v2
docker/metadata-action v4
cachix/install-nix-action v23@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011
actions/cache v3
.github/workflows/build-push-latest-nixos.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/setup-qemu-action v2
docker/setup-buildx-action v2
docker/login-action v2
docker/metadata-action v4
docker/build-push-action v4
.github/workflows/build-push-latest.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
docker/setup-qemu-action v2
docker/setup-buildx-action v2
cachix/install-nix-action v23@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011
docker/login-action v2
docker/metadata-action v4
docker/build-push-action v4
.github/workflows/release.yaml
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
devcontainers/action v1
.github/workflows/test-pr.yaml
dorny/paths-filter v2
actions/checkout v4@3df4ab11eba7bda6032a0b82a6bb43b11571feac
.devcontainer/nixos/flake.nix
nixpkgs nixos-23.05
flake.nix
nixpkgs nixos-23.05
Error shown when running the Dockerfile build (either using buildx or build)
docker buildx build --platform linux/arm64/v8 .
error: unable to load seccomp BPF program: Invalid argument
Home-manager derivation doesn't work.
The flake based build says that it won't execute get-hm-version due to sus permissions.
Writing in this issue so I won't forget.
Diagnose:
will try solution on adding hooks to docker entrypoint to make sure /tmp uses the correct umask 022
It's a headache in Apple Silicon because docker downloaded x86_64 image and caused nix recipe inside to break because it is not compatible with host arch.
Proposed plan:
It seems that specifying multiple devcontainer config is now supported as a subfolder. So we can just fill in examples in this repo directly. Looking forward to do that ๐คฃ
I observed more and more features template, including nix in github codespace. However at the moment it's not that useful. We could try making the setup as another example and then overlay the same composition to support existing use case:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.