Skip to content
Snippets Groups Projects
Commit d202e10a authored by wep23441's avatar wep23441
Browse files

testing container scan

parent 16c91436
Branches
No related tags found
No related merge requests found
......@@ -11,5 +11,4 @@ build_image:
- /kaniko/executor
--context "${CI_PROJECT_DIR}/case-3-build/"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
- echo "Pushing image with tag ${CI_COMMIT_TAG}"
--destination "${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${IMAGE_TAG}"
### Solution Case 3 Build:
1. `Dockerfile` path in the `build_image.yml` job needs to be corrected and uncomment `entrypoint: [""]` and figure out what it does
1. `Dockerfile` path in the `build_image.yml` job needs to be corrected and uncomment `entrypoint: [""]`, removal of unnesessary line ( # - echo "Pushing image with tag ${CI_COMMIT_TAG}") and figure out what it does
2. in `Dockerfile` the insytallation of dependencies is missing `RUN pip install --no-cache-dir -r requirements.txt`
3. `.dockerignore` file ignores `requirements.txt` at the moment, needs to be corrected
4. remove unnecessary dependency from `build.yml`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment