Skip to content

Commit

Permalink
Remove unneeded Dockerfile from Okta (elastic#592)
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 6599d7e commit 8aee0ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions packages/okta/_dev/deploy/docker/Dockerfile

This file was deleted.

8 changes: 4 additions & 4 deletions packages/okta/_dev/deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '2.3'
services:
okta:
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/"

0 comments on commit 8aee0ec

Please sign in to comment.