Created
December 2, 2016 02:55
-
-
Save jonasrosland/42b6b7dbf3647ccfd95b913cdc61102e to your computer and use it in GitHub Desktop.
REX-Ray on Alpine
This file contains hidden or 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
FROM smebberson/alpine-base | |
RUN apk add curl | |
#RUN curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s -- stable 0.3.3 | |
RUN curl -o rexray-Linux-x86_64-0.6.1.tar.gz -sSL https://emccode.bintray.com/rexray/stable/0.6.1/rexray-Linux-x86_64-0.6.1.tar.gz | |
RUN tar zxvf rexray*.gz | |
RUN apk add --update -t deps wget ca-certificates openssl | |
RUN apk add --update -t openssl | |
WORKDIR /tmp | |
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r3/glibc-2.23-r3.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r3/glibc-bin-2.23-r3.apk | |
RUN apk add --allow-untrusted glibc-bin-2.23-r3.apk glibc-2.23-r3.apk | |
RUN mkdir /etc/rexray | |
# Create a valid config.yml file in the same dir as the Dockerfile | |
COPY config.yml /etc/rexray | |
ENTRYPOINT ["/init"] | |
CMD ["/rexray", "start", "-f", "-l", "debug"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment