Skip to content

Commit

Permalink
Delete bash from apk
Browse files Browse the repository at this point in the history
  • Loading branch information
leech001 committed Dec 11, 2022
1 parent e2450de commit 50dbebe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## [0.0.0] - 2022-12-11
- [ ADD ] Initial project;
- [ ADD ] Initial project;

## [0.0.1] - 2022-12-11
- [ ADD ] Running code;

## [0.0.2] - 2022-12-11
- [ CHANGE ] Delete `bash` from apk;
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN CGO_ENABLED=0 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o


FROM alpine:latest
RUN apk add --no-cache bash nmap
RUN apk add --no-cache nmap
WORKDIR /app
COPY --from=builder /build/monitor .
CMD sh -c "./monitor"

0 comments on commit 50dbebe

Please sign in to comment.