Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
developStorm committed May 20, 2024
1 parent 65f23d5 commit d38e93c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN go mod download && go mod verify

# Build the actual app
COPY . .
RUN make all
RUN pwd && ls -al && make all

## Runtime image ##
FROM alpine:3.16 as run
Expand Down
3 changes: 2 additions & 1 deletion docker-runner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ base-apt-update:
IMAGE_ID=zgrab2_service_base:latest ./base-apt-update.sh

docker-runner.id: $(PROJ_ROOT)/Dockerfile
docker build -t zgrab2_runner:latest -f $(PROJ_ROOT)/Dockerfile -q $(PROJ_ROOT) > docker-runner.id || (rm -f docker-runner.id && exit 1)
echo $(PROJ_ROOT)
docker build -t zgrab2_runner:latest -f $(PROJ_ROOT)/Dockerfile $(PROJ_ROOT)

clean:
if [ -f docker-runner.id ]; then docker rmi -f $$(cat docker-runner.id) && rm -f docker-runner.id; fi
Expand Down

0 comments on commit d38e93c

Please sign in to comment.