Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX #29: use Tini (offiically supported by Docker) to reap defunct glusterfs processes. #30

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions glusterfs-volume-plugin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM oraclelinux:7-slim
ENV TINI_VERSION v0.18.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
RUN yum install -q -y oracle-gluster-release-el7 && \
yum install -q -y git glusterfs glusterfs-fuse attr && \
curl --silent -L https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz | tar -C /usr/local -zxf -
Expand Down
4 changes: 3 additions & 1 deletion glusterfs-volume-plugin/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"description": "GlusterFS plugin for Docker",
"documentation": "https://github.com/trajano/docker-volume-plugins/",
"entrypoint": [
"/tini",
"--",
"/glusterfs-volume-plugin"
],
"env": [
Expand Down Expand Up @@ -33,4 +35,4 @@
}
]
}
}
}