-
-
Save kmanna/4273e9996a4315923e4b 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
diff --git a/Dockerfile b/Dockerfile | |
index 8a9aa36..71b5e48 100644 | |
--- a/Dockerfile | |
+++ b/Dockerfile | |
@@ -27,12 +27,12 @@ RUN chmod 755 /usr/local/bin/* | |
# All builds will be done by user aosp | |
RUN useradd --create-home aosp | |
ADD gitconfig /home/aosp/.gitconfig | |
+ADD ssh_config /home/aosp/.ssh/config | |
RUN chown aosp:aosp /home/aosp/.gitconfig | |
# The persistent data will be in these two directories, everything else is | |
# considered to be ephemeral | |
-VOLUME /tmp/ccache | |
-VOLUME /aosp | |
+VOLUME ["/tmp/ccache", "/aosp"] | |
# Improve rebuild performance by enabling compiler cache | |
ENV USE_CCACHE 1 | |
diff --git a/ssh_config b/ssh_config | |
new file mode 100644 | |
index 0000000..fccf3c2 | |
--- /dev/null | |
+++ b/ssh_config | |
@@ -0,0 +1,4 @@ | |
+# Somewhat insecure, fork and override as needed. | |
+Host * | |
+ #IdentityFile /root/.ssh/id_rsa | |
+ StrictHostKeyChecking no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment