1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
6 FROM debian:bullseye-slim
7 MAINTAINER Arvados Package Maintainers <packaging@arvados.org>
10 ARG cwl_runner_version
12 ADD apt.arvados.org-$repo_version.list /etc/apt/sources.list.d/
13 ADD 1078ECD7.key /etc/apt/trusted.gpg.d/arvados.asc
15 RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends python3-arvados-cwl-runner=$cwl_runner_version
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
23 ENV PATH=/usr/lib/python3-arvados-cwl-runner/bin:/usr/local/bin:/usr/bin:/bin