projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21448: removed dividers from overflow menuArvados-DCO-1.1-Signed-off-by: Lisa Knox...
[arvados.git]
/
services
/
workbench2
/
docker
/
Dockerfile
diff --git
a/services/workbench2/docker/Dockerfile
b/services/workbench2/docker/Dockerfile
index e54496f35b0f321586039c9fac3f4b7d8a55004c..fa4266191aa0c3f8998cc92f879ba4195b6aef4a 100644
(file)
--- a/
services/workbench2/docker/Dockerfile
+++ b/
services/workbench2/docker/Dockerfile
@@
-13,8
+13,11
@@
RUN apt-get update && \
apt-get clean
RUN /usr/bin/gem install --no-document fpm
apt-get clean
RUN /usr/bin/gem install --no-document fpm
-RUN cd /usr/src && git clone git://git.arvados.org/arvados.git && \
- cd arvados && \
+WORKDIR /usr/src/arvados
+COPY . .
+RUN cd /usr/src/arvados && \
+ test -d cmd/arvados-server || \
+ (echo "ERROR: build context must be an Arvados repository" && false) && \
GO_VERSION=$(grep 'goversion =' lib/install/deps.go |awk -F'"' '{print $2}') && \
ARCH=$(dpkg --print-architecture) && \
echo $GO_VERSION && \
GO_VERSION=$(grep 'goversion =' lib/install/deps.go |awk -F'"' '{print $2}') && \
ARCH=$(dpkg --print-architecture) && \
echo $GO_VERSION && \