Project

General

Profile

Bug #21384 » bookworm-gem.dockerfile

Brett Smith, 02/05/2024 03:02 PM

 
1
FROM debian:bookworm-slim
2

    
3
RUN apt-get update \
4
 && DEBIAN_FRONTEND=noninteractive apt-get install --yes \
5
 build-essential ruby ruby-dev ruby-rubygems libcurl4-openssl-dev zlib1g-dev \
6
 && adduser --disabled-password --gecos="Gem User" user
7

    
8
COPY arvados-*.gem /usr/local/src/
9
USER user
10
ENV PATH=/home/user/.local/share/gem/ruby/3.1.0/bin:/usr/bin:/bin
11
RUN gem install --user-install /usr/local/src/*.gem arvados-cli
(2-2/2)