Last active
April 2, 2021 13:54
-
-
Save btheu/d747c0740e2eb4a16767c21003b1076e to your computer and use it in GitHub Desktop.
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
# raspi-config for config | |
apt-get update | |
apt-get upgrade | |
apt-get install git | |
curl -sSL get.docker.com | sh | |
# Docker compose | |
git clone https://github.com/docker/compose.git | |
cd compose | |
git checkout release | |
docker build -t docker-compose:armhf -f Dockerfile.armhf . | |
docker run --rm --entrypoint="script/build/linux-entrypoint" -v $(pwd)/dist:/code/dist -v $(pwd)/.git:/code/.git "docker-compose:armhf" | |
cp dist/docker-compose-Linux-armv7l /usr/local/bin/docker-compose | |
chown root:root /usr/local/bin/docker-compose | |
chmod 0755 /usr/local/bin/docker-compose | |
docker-compose version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment