summary refs log tree commit diff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d882d22..dea2fc4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -137,7 +137,10 @@ ENV PLATFORM_ROOT=$CROS_ROOT/platform
 RUN mkdir -p $PLATFORM_ROOT
 
 # Pull the cras library for audio access.
-RUN git clone https://chromium.googlesource.com/chromiumos/third_party/adhd $THIRD_PARTY_ROOT/adhd
+ARG ADHD_COMMIT=master
+RUN git clone https://chromium.googlesource.com/chromiumos/third_party/adhd $THIRD_PARTY_ROOT/adhd \
+    && cd $THIRD_PARTY_ROOT/adhd \
+    && git checkout $ADHD_COMMIT
 
 # The /build directory is used so that the bind mounted /platform/crosvm volume
 # does not get scribbled on.