Skip to content

Commit

Permalink
Remove unneeded Dockerfile from Zeek (#597)
Browse files Browse the repository at this point in the history
The sample logs can be copied between volumes rather than added
to a layer in the image via a Dockerfile.
  • Loading branch information
andrewkroh authored Feb 1, 2021
1 parent 5758b94 commit 903aa7f
Show file tree
Hide file tree
Showing 36 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions packages/zeek/_dev/deploy/docker/Dockerfile

This file was deleted.

8 changes: 4 additions & 4 deletions packages/zeek/_dev/deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '2.3'
services:
zeek:
tty: true
build: .
image: alpine
volumes:
- ${SERVICE_LOGS_DIR}:/logs
command: -c "cp /sample_logs/*.log /logs/"
- ./sample_logs:/sample_logs:ro
- ${SERVICE_LOGS_DIR}:/var/log
command: /bin/sh -c "cp /sample_logs/* /var/log/"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 903aa7f

Please sign in to comment.