From a9d377ba93f19f1b4ebb389d3baa23b26ef0d860 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Tue, 12 Apr 2022 13:20:26 -0400 Subject: [PATCH] Small tweaks for the package building dockerfile. No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6c3935c3..b93ebd50 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,8 +12,8 @@ RUN apt-get update && \ libpam0g-dev libgbm1 git && \ apt-get clean -RUN gem install --no-ri --no-rdoc fpm -RUN cd /usr/src && git clone https://git.arvados.org/arvados.git && \ +RUN /usr/bin/gem install --no-document fpm +RUN cd /usr/src && git clone git://git.arvados.org/arvados.git && \ cd arvados && \ GO_VERSION=$(grep 'goversion =' lib/install/deps.go |awk -F'"' '{print $2}') && \ echo $GO_VERSION && \ @@ -25,6 +25,7 @@ RUN cd /usr/src && git clone https://git.arvados.org/arvados.git && \ ln -s /usr/local/bin/go-${GO_VERSION} /usr/local/bin/go && \ ln -s /usr/local/bin/gofmt-${GO_VERSION} /usr/local/bin/gofmt +# preseed arvados build dependencies RUN cd /usr/src/arvados && \ apt-get update && \ go mod download && \ -- 2.30.2