Skip to content

Instantly share code, notes, and snippets.

@clintkitson
Created October 12, 2017 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clintkitson/fca8fadfe64807e7ab15ec29cd602f1b to your computer and use it in GitHub Desktop.
Save clintkitson/fca8fadfe64807e7ab15ec29cd602f1b to your computer and use it in GitHub Desktop.
FROM alpine:3.6
RUN apk update
RUN apk add ca-certificates nfs-utils
RUN mkdir -p /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
RUN mkdir -p /etc/rexray /run/docker/plugins /var/lib/rexray/volumes
ADD rexray /usr/bin/rexray
ADD rexray.yml /etc/rexray/rexray.yml
ADD rexray.sh /rexray.sh
RUN chmod +x /rexray.sh
CMD [ "rexray", "start", "--nopid" ]
ENTRYPOINT [ "/rexray.sh" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment