goodwithtech / dockle

Container Image Linter for Security, Helping build the Best-Practice Docker Image, Easy to start

Home Page:https://containers.goodwith.tech/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I get an invalid error about ADD/COPY

GoliTech opened this issue · comments

Description
I get an error:
FATAL - CIS-DI-0009: Use COPY instead of ADD in Dockerfile

* Use COPY : /bin/sh -c #(nop) ADD file:140fb5108b4a2861b5718ad03b4a5174bba03589ea8d4c053e6a0b282f439ff3 in / 

however, I have not used either COPY or ADD in my Dockerfile.

This is my docker file:

FROM ubuntu:22.04

RUN apt-get update

RUN apt-get install -y curl

@GoliTech Thank you for the report.
This issue has been fixed in version 0.4.13.