Giter Site home page Giter Site logo

Comments (3)

tomoyamachi avatar tomoyamachi commented on September 12, 2024 3

@KEINOS
Thank you for the report!!
I fixed a terrible bug.

Please update v0.1.3.

from dockle.

KEINOS avatar KEINOS commented on September 12, 2024 1

I updated dockle version v0.0.18 -> v0.1.1 but still gives me the same error.

from dockle.

KEINOS avatar KEINOS commented on September 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.