Last active
August 29, 2015 14:25
-
-
Save kanuku/7da7a54bf028c96a68a3 to your computer and use it in GitHub Desktop.
Gediminas V2
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
dockerCommands ++= Seq( | |
Cmd("ADD", "scm-source.json" + " /"), | |
Cmd("RUN", "chmod a+x /opt/docker/bin/*"), | |
Cmd("USER", "root"), | |
Cmd("RUN", """curl -o /opt/docker/bin/gosu -sSL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture)" """), | |
Cmd("RUN", """curl -o /opt/docker/bin/gosu.asc -sSL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture).asc" """), | |
Cmd("RUN", "gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4"), | |
Cmd("RUN", "gpg --verify /opt/docker/bin/gosu.asc"), | |
Cmd("RUN", "rm /opt/docker/bin/gosu.asc"), | |
Cmd("RUN", "apt-get update"), | |
Cmd("RUN", "apt-get install -y wkhtmltopdf"), | |
Cmd("RUN", "chmod u+x /opt/docker/bin/gosu"), | |
Cmd("RUN", "chown -R daemon:daemon /opt/docker/bin/gosu"), | |
Cmd("USER", "daemon") | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment