Skip to content

Commit

Permalink
Prefer sleep infinity to while sleep 1000 (#275)
Browse files Browse the repository at this point in the history
* Prefer `sleep infinity` to `while sleep 1000`

* Bump docker-existing-docker-compose patch version
  • Loading branch information
r7kamura authored Aug 8, 2024
1 parent 9df48f8 commit b87588a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ services:
# - seccomp:unconfined

# Overrides default command so things don't shut down after the process ends.
command: /bin/sh -c "while sleep 1000; do :; done"
command: sleep infinity

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "docker-existing-docker-compose",
"version": "1.2.0",
"version": "1.2.1",
"name": "Existing Docker Compose (Extend)",
"description": "Sample illustrating how to extend an existing Docker Compose file for use in a dev container.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose",
Expand Down

0 comments on commit b87588a

Please sign in to comment.