-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Swarm cleaner now also cleans up dangling services
- Loading branch information
1 parent
8781a52
commit 0a534ed
Showing
3 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
FROM centos:centos7 | ||
FROM docker:stable | ||
|
||
# Install bash | ||
RUN apk add --no-cache bash | ||
|
||
# Install Docker | ||
RUN yum install -y docker | ||
# Run the script | ||
ADD commands.sh /usr/local/bin/shell.sh | ||
|
||
RUN chmod 777 /usr/local/bin/shell.sh | ||
|
||
CMD /usr/local/bin/shell.sh | ||
CMD ["bash", "/usr/local/bin/shell.sh"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters