diff --git a/Dockerfile b/Dockerfile
index bbdca32411825b8a009b6f10732527916e80d254..3552205282e5ebca687be111716e9bac71ae8402 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,8 @@
+####
+# Build locally:
+#   docker build --build-arg ssh_private_key="$(cat ~/.ssh/id_rsa)" -t nshmp-ws .
+####
+
 # Current project
 ARG project=nshmp-netcdf
 
@@ -20,17 +25,23 @@ ENV LANG="en_US.UTF-8"
 ARG workdir
 ARG libs_dir
 ARG jar_file
+ARG ssh_private_key
 
 WORKDIR ${workdir}
 
-RUN yum install -y java-11-openjdk which git
+RUN yum install -y java-11-openjdk which git \
+    && eval $(ssh-agent -s) \
+    && mkdir -p ~/.ssh \
+    && chmod 700 ~/.ssh \
+    && echo "${ssh_private_key}" >> ~/.ssh/id_rsa \
+    && chmod 0600 ~/.ssh/id_rsa \
+    && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
 
 COPY build.gradle .
 COPY .git .git
 COPY gradle gradle
 COPY gradle.properties .
 COPY gradlew .
-COPY nshmp-lib ../nshmp-lib
 COPY settings.gradle .
 COPY src src
 COPY openapi.properties .