Comments (5)
@SebRosander thanks for update! closing for now, will reopen if this will recure
from nanolayer.
Thanks for reporting! the problem is the arm64 filter regex accepts also mentions of "ARM" , in the newer version this is fixed and the correct ARM64 is chosen.
from nanolayer.
@kumarpramod You can try this feature to see if now working: ghcr.io/devcontainers-contrib/features/trivy:1.0.9
- it uses the latest nanolayer version and working correctly on my QEMU environment (I dont have a mac)
from nanolayer.
@danielbraun89 - I'm a colleague of @kumarpramod, The suggested solution seems to work for me at least. I'm running M1, ARM64. I've pinged @kumarpramod internally and asked them to confirm as well.
from nanolayer.
@danielbraun89 It is still broken for me on the mentioned version with the same error. I pinned it to 1.0.9
as mentioned in #54 (comment) to make sure that I have the fix, but no luck.
Container Build Logs
Complete log: remoteContainers-2023-10-30T18-03-01.836Z.log
The interesting parts:
#0 0.147 ===========================================================================
#0 0.147 Feature : Trivy (via Github Releases)
#0 0.147 Description : Trivy is a comprehensive and versatile security scanner. It finds vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more.
#0 0.147 Id : ghcr.io/devcontainers-contrib/features/trivy
#0 0.147 Version : 1.0.9
#0 0.147 Documentation : http://github.com/devcontainers-contrib/features/tree/main/src/trivy
#0 0.147 Options :
#0 0.147 VERSION="0.46.1"
#0 0.147 ===========================================================================
...
#0 7.649 nanolayer.installers.gh_release.resolvers.asset_resolver.AssetResolver.AssetResolverError:
Too many matches found: ['trivy_0.46.1_Linux-64bit.tar.gz', 'trivy_0.46.1_Linux-ARM.tar.gz']
VSCode
Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:47:05.613Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.1.60
Sandboxed: No
devcontainer.json
{
"name": "Ubuntu",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"runArgs": ["--network=host"],
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": true,
"installDockerBuildx": true,
"version": "20.10.24",
"dockerDashComposeVersion": "v2"
},
"ghcr.io/devcontainers/features/git:1": {
"ppa": true,
"version": "2.40.1"
},
"ghcr.io/devcontainers/features/go:1": {
"version": "1.20.4"
},
"ghcr.io/devcontainers/features/java:1": {
"installGradle": true,
"installMaven": false,
"installAnt": false,
"version": "11.0.12-open",
"jdkDistro": "open",
"gradleVersion": "7.5.1",
"mavenVersion": "3.8.6",
"antVersion": "1.10.12"
},
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "18.16.0"
},
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.63",
"profile": "complete"
},
"ghcr.io/devcontainers-contrib/features/actions-runner:1": {
"version": "latest",
"dotnetVersion": "latest"
},
"ghcr.io/devcontainers-contrib/features/curl-apt-get:1": {},
"ghcr.io/devcontainers-contrib/features/dive:1": {
"version": "v0.10.0"
},
"ghcr.io/devcontainers-contrib/features/gitmux:1": {
"version": "v0.10.2"
},
"ghcr.io/devcontainers-contrib/features/ionic-cli:2": {
"version": "7.1.1"
},
"ghcr.io/devcontainers-contrib/features/kind:1": {
"version": "v0.18.0"
},
"ghcr.io/devcontainers-contrib/features/protoc:1": {
"version": "v3.20.3"
},
"ghcr.io/devcontainers-contrib/features/trivy:1.0.9": {
"version": "0.46.1"
}
},
"customizations": {
"vscode": {
"extensions": [
"bierner.markdown-mermaid",
"mhutchie.git-graph",
"alefragnani.bookmarks",
"yzhang.markdown-all-in-one",
"trabpukcip.vscode-npm-scripts",
"jebbs.plantuml",
"ms-vscode-remote.vscode-remote-extensionpack",
"juanblanco.solidity",
"dbaeumer.vscode-eslint",
"42crunch.vscode-openapi",
"esbenp.prettier-vscode",
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker",
"github.vscode-pull-request-github",
"codeandstuff.package-json-upgrade"
]
}
}
}
from nanolayer.
Related Issues (20)
- dcontainer apt-get installation capabilities
- Tests of installers should run on container image and use current git code
- Add apt-get, apt, aptitude and gh-release installers to dcontainer
- build on ubuntu 18 failed
- Alpine compatibility
- split generator
- GH-release does not decompress binaries that are compressed only with .gz without .tar HOT 1
- AssetResolverError: No matches found even though the binary exists. HOT 1
- microdnf support
- On debian-like distros, prevent interactive installs HOT 1
- Erlang feature works on only some base images, fails on others
- Install multiple exes from a GH Release HOT 3
- ppas flag fail installation on debian HOT 1
- remove cache related flags
- Add apk support (alpine)
- Allow installing a package from a github release
- [Bug]: gh-release requires git as part of the install process, but does not install it itself. HOT 1
- Release an aarch64 linux build
- [Feature] Authenticating to the Github REST API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanolayer.