Commit 0258d37b authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

add sudo cowbuilder file (take 4)

parent 823047e3
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
#!/bin/bash

echo "downloading docker repo apt-key..."

curl --silent https://download.docker.com/linux/debian/gpg | \
    gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/docker.gpg --import

## Make  file to world  readable
chmod 644 /etc/apt/trusted.gpg.d/docker.gpg

echo "running apt-get update..."
apt-get update

echo "done"
exit 0