microsoft / restler-fuzzer

RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.59k stars 296 forks source link

Failed to build demo server docker image - missing logging.conf file #665

Open eladavraham-ms opened 1 year ago

eladavraham-ms commented 1 year ago

Description

Failed to build demo server docker image - missing logging.conf file in the demo project folder.

Error message

> [4/6] COPY requirements.txt logging.conf swagger.json /app/: failed to compute cache key: "/logging.conf" not found: not found

Workaround

Create an empty logging.conf file.

Output of docker build command

docker build -t demorestler . [+] Building 0.8s (8/10) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/python:3.8-alpine 0.7s => CANCELED [1/6] FROM docker.io/library/python:3.8-alpine@sha256:6fb0e290e9c69d7c58f75a6b881380081ff73017440f8fa804dfd880aa908179 0.0s => => resolve docker.io/library/python:3.8-alpine@sha256:6fb0e290e9c69d7c58f75a6b881380081ff73017440f8fa804dfd880aa908179 0.0s => => sha256:6fb0e290e9c69d7c58f75a6b881380081ff73017440f8fa804dfd880aa908179 1.65kB / 1.65kB 0.0s => => sha256:1c732209da098e3a39dbec9faa3c35c59e1068bd6ee4a3fc5e6f37695bee8f24 1.37kB / 1.37kB 0.0s => => sha256:c001bad9ce01df874e38cc89c6c1409256796be71080aebe9983c24ca166ae7c 7.07kB / 7.07kB 0.0s => [internal] load build context 0.0s => => transferring context: 390B 0.0s => CACHED [2/6] RUN apk add --no-cache build-base 0.0s => CACHED [3/6] COPY demo_server/ /app/demo_server 0.0s => ERROR [4/6] COPY requirements.txt logging.conf swagger.json /app/ 0.0s

[4/6] COPY requirements.txt logging.conf swagger.json /app/: failed to compute cache key: "/logging.conf" not found: not found

Environment details

OS: macOS Revision: main branch 7fb2fc9