1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 FROM node:12.22.3-buster
6 LABEL maintainer="Arvados Package Maintainers <packaging@arvados.org>"
8 RUN echo deb http://deb.debian.org/debian buster-backports main >> /etc/apt/sources.list.d/backports.list
9 RUN apt-get update && \
10 apt-get -yq --no-install-recommends -o Acquire::Retries=6 install \
11 libsecret-1-0 libsecret-1-dev rpm ruby ruby-dev rubygems build-essential \
12 libpam0g-dev libgbm1 git && \
17 wget https://golang.org/dl/go1.16.9.linux-amd64.tar.gz && \
18 tar xzf go1.16.9.linux-amd64.tar.gz && \
19 ln -s /usr/src/go/bin/go /usr/local/bin/go-1.16.9 && \
20 ln -s /usr/src/go/bin/gofmt /usr/local/bin/gofmt-1.16.9 && \
21 ln -s /usr/local/bin/go-1.16.9 /usr/local/bin/go && \
22 ln -s /usr/local/bin/gofmt-1.16.9 /usr/local/bin/gofmt
24 RUN gem install --no-ri --no-rdoc fpm
25 RUN git clone https://git.arvados.org/arvados.git && cd arvados && \
27 go run ./cmd/arvados-server install -type test && cd .. && \