Created
May 16, 2017 22:55
-
-
Save briantd/4e4f4efab96101df8aa5ce3bbf507b54 to your computer and use it in GitHub Desktop.
REX-Ray: Setting up rexray service on Moby
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
# | |
# Run as root to protect against the purged packages bug below | |
# | |
# Update package manager | |
apk update | |
# Add missing package -- this will trigger some package removals (https://github.com/docker/editions/issues/675) | |
apk add alpine-sdk > apk_output.log | |
# Re-add purged packages | |
apk add perl | |
cat apk_output.log | perl -lne 'm#Purging (\S+) \(([^\)]+)# && print "apk add $1=$2"' > readd.sh | |
chmod +x readd.sh | |
./readd.sh | |
# Also add... | |
apk add file | |
# Add library needed for glibc binaries | |
curl -LO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r3/glibc-2.23-r3.apk && apk add --allow-untrusted glibc-2.23-r3.apk -f | |
# Install rexray | |
curl -sSL https://dl.bintray.com/emccode/rexray/install | INSECURE=1 sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment