Comments (3)
@KEINOS
Thank you for the report!!
I fixed a terrible bug.
Please update v0.1.3.
from dockle.
I updated dockle
version v0.0.18
-> v0.1.1
but still gives me the same error.
from dockle.
I fixed a terrible bug.
Please update v0.1.3.
Thank you! Now it works like a charm! 🎉
Issue Closed!
$ dockle --version
dockle version 0.1.5
$
$ ./build.sh
- Building: Docker image ...
Sending build context to Docker daemon 76.8kB
Step 1/6 : FROM alpine@sha256:769fddc7cc2f0a1c35abb2f91432e8beecf83916c421420e6a6da9f8975464b6
---> 055936d39205
Step 2/6 : COPY src /app
---> 2fbd025a8090
Step 3/6 : RUN addgroup appgroup && adduser -S dockle appgroup
---> Running in 7c0d77f0755d
Removing intermediate container 7c0d77f0755d
---> 71335af5a605
Step 4/6 : HEALTHCHECK --interval=1h --timeout=15s --start-period=5s --retries=2 CMD [ "/app/healthcheck.sh" ]
---> Running in 644188b31850
Removing intermediate container 644188b31850
---> f8a2ac5b2711
Step 5/6 : CMD [ "/app/hello-world.sh" ]
---> Running in 2a2e45ae20ef
Removing intermediate container 2a2e45ae20ef
---> f75fc6e8f274
Step 6/6 : USER dockle
---> Running in 76679dbb8881
Removing intermediate container 76679dbb8881
---> f9db4a614ea2
Successfully built f9db4a614ea2
Successfully tagged my_image:my_test
Tagging alpine@sha256:769fddc7cc2f0a1c35abb2f91432e8beecf83916c421420e6a6da9f8975464b6 as alpine:latest
- Auditing Security: Docker image ...
2019-06-14T02:03:14.334+0900 DEBUG Fetch latest version from github
2019-06-14T02:03:16.007+0900 INFO Removing image caches...
2019-06-14T02:03:16.008+0900 DEBUG Start assessments...
2019-06-14T02:03:16.272+0900 DEBUG Start scan : password files
2019-06-14T02:03:16.272+0900 DEBUG Start scan : /etc/passwd
2019-06-14T02:03:16.272+0900 DEBUG Start scan : /etc/group
2019-06-14T02:03:16.272+0900 DEBUG Start scan : /etc/hosts
2019-06-14T02:03:16.272+0900 DEBUG Start scan : credential files
2019-06-14T02:03:16.272+0900 DEBUG Scan start : config file
2019-06-14T02:03:16.273+0900 DEBUG Scan start : DOCKER_CONTENT_TRUST
2019-06-14T02:03:16.273+0900 DEBUG End assessments...
2019-06-14T02:03:16.273+0900 DEBUG There is no .dockleignore file
PASS - CIS-DI-0001: Create a user for the container
PASS - CIS-DI-0005: Enable Content trust for Docker
PASS - CIS-DI-0006: Add HEALTHCHECK instruction to the container image
PASS - CIS-DI-0007: Do not use update instructions alone in the Dockerfile
PASS - CIS-DI-0008: Remove setuid and setgid permissions in the images
PASS - CIS-DI-0009: Use COPY instead of ADD in Dockerfile
PASS - CIS-DI-0010: Do not store secrets in ENVIRONMENT variables
PASS - CIS-DI-0010: Do not store secret files
PASS - DKL-DI-0001: Avoid sudo command
PASS - DKL-DI-0002: Avoid sensitive directory mounting
PASS - DKL-DI-0003: Avoid apt-get/apk/dist-upgrade
PASS - DKL-DI-0004: Use apk add with --no-cache
PASS - DKL-DI-0005: Clear apt-get caches
PASS - DKL-DI-0006: Avoid latest tag
PASS - DKL-LI-0001: Avoid empty password
PASS - DKL-LI-0002: Be unique UID
PASS - DKL-LI-0002: Be unique GROUP
from dockle.
Related Issues (20)
- False-positive detection of CIS-DI-0009 for focal based dotnet images HOT 1
- Is there an official GitHub Action for Dockle? HOT 4
- failure building with btrfs-progs 6.1 HOT 3
- Stop alerting /tmp as suspicious directory (DKL-LI-0003) HOT 4
- Problem scanning ubuntu images HOT 2
- Change CIS-DI-0009's level from FATAL to WARN HOT 3
- Scanning ubuntu:22.04 failed HOT 7
- Include --no-network as well as --no-cache in DKL-DI-0004
- Panic failure for amazon/dynamodb-local:1.13.1 image HOT 2
- How does Dockle work against multi-platform images?
- I get an invalid error about ADD/COPY HOT 1
- DKL-LI-0001 erroneously reported for Wolfi images
- "E2E-Testing" - recommended complementary use with other tools? HOT 1
- How to use CIS-DI-0002 ?
- Invalid detection of CIS-DI-0010 if specfic versions are installed
- Dockle can't perform the inspection. HOT 4
- dockle stopped working when updating docker to version 25 HOT 16
- CIS-DI-0006 is incorrectly documented as being of level WARN in project README
- Dockle Error while scanning Images with its Manifest Digest
- Dockle Error while scanning an Image built on a Gitlab SaaS Runner
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 dockle.