meaningful-ooo / devcontainer-features Goto Github PK
View Code? Open in Web Editor NEW🧰 Development container features
License: MIT License
🧰 Development container features
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/fast-forward-pr.yaml
actions/checkout v4
endre-spotlab/fast-forward-js-action 2.1
.github/workflows/release.yaml
actions/checkout v4
devcontainers/action v1
.github/workflows/test.yaml
dorny/paths-filter v3
actions/checkout v4
actions/checkout v4
actions/checkout v4
actions/checkout v4
package.json
gitmoji-cli ^9.1.0
Homebrew lacks arm support
I'm not sure why and pretty sure it was working last time I used it but the following configuration is doing a full clone :
"features": {
"ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {
"shallowClone": true,
"version": "2.0.3"
}
}
Got around it by setting the env var at the end of the Dockerfile 🤷♂️
ENV SHALLOW_CLONE="true"
Note: I'm prebuilding the image with npx @devcontainers/cli build
but I don't think it change the issue
I notice anything installed by brew in post-create with a vscode devcontianer using the user vscode effects a permission denied.
I built a dev container using the fish
feature from this repository. However, once the container started up fish wasn't actually installed.
After some searching I finally found the logs from Docker Desktop about what had happened during the fish feature installation and the output is attached below.
It's evident that the feature reported successful installation even thought apt failed to install fish due to some likely transient error. In my opinion, the feature install should have failed and I could then have retried.
Now this unsuccessful feature install is cached by Docker as a layer and rebuilding ends up reusing that layer.
Would it perhaps be enough to use set -e
in the install.sh script to avoid this?
Log output:
===========================================================================
Feature : fish
Description : Installs fish shell and Fisher plugin manager (optionally)
Id : ghcr.io/meaningful-ooo/devcontainer-features/fish
Version : 1.2.1
Documentation : https://github.com/meaningful-ooo/devcontainer-features/tree/main/src/fish
Options :
FISHER="false"
===========================================================================
Installing fish shell...
deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/ /
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:5 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 InRelease [1556 B]
Get:2 https://apt.llvm.org/bookworm llvm-toolchain-bookworm-18 InRelease [6836 B]
Get:6 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
Get:7 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 Packages [1843 B]
Get:8 https://apt.llvm.org/bookworm llvm-toolchain-bookworm-18/main amd64 Packages [20.6 kB]
Get:9 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
Get:10 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
Fetched 9219 kB in 4s (2102 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
liblldb-14
Use 'apt autoremove' to remove it.
Suggested packages:
xdg-utils
Recommended packages:
xsel
The following NEW packages will be installed:
fish
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2558 kB of archives.
After this operation, 18.4 MB of additional disk space will be used.
Ign:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
Ign:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
Ign:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
Err:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
500 Internal Server Error [IP: 195.135.223.226 80]
E: Failed to fetch http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/amd64/fish_3.7.0-1_amd64.deb 500 Internal Server Error [IP: 195.135.223.226 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
./install.sh: line 109: fish: command not found
Done!
Thanks for creating a useful feature. I want to install a couple of homebrew packages and can't find an idiomatic way of achieving it.
The best I can do is by repeating the declaration, but this feels a bit hacky and I get a warning of duplicate object key in my IDE.
{
"features": {
"ghcr.io/devcontainers-contrib/features/homebrew-package:1": {
"package": "detect-secrets"
},
"ghcr.io/devcontainers-contrib/features/homebrew-package:1": {
"package": "markdownlint-cli"
}
}
}
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.