21998: Try to find original request's scheme in URL generated for wget.
[arvados.git] / docker / jobs / Dockerfile
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 # Based on Debian
6 FROM debian:bullseye-slim
7 MAINTAINER Arvados Package Maintainers <packaging@arvados.org>
8
9 ARG repo_version
10 ARG cwl_runner_version
11
12 ADD apt.arvados.org-$repo_version.list /etc/apt/sources.list.d/
13 ADD 1078ECD7.key /etc/apt/trusted.gpg.d/arvados.asc
14 RUN apt-get update -q
15 RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends python3-arvados-cwl-runner=$cwl_runner_version
16
17 # Install dependencies and set up system.
18 RUN /usr/sbin/adduser --disabled-password \
19       --gecos 'Crunch execution user' crunch && \
20     /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job
21
22 USER crunch
23 ENV PATH=/usr/lib/python3-arvados-cwl-runner/bin:/usr/local/bin:/usr/bin:/bin