Project

General

Profile

Bug #21384 » focal-gem.dockerfile

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

 
1
FROM ubuntu:focal
2

    
3
RUN apt-get update \
4
 && DEBIAN_FRONTEND=noninteractive apt-get install --yes \
5
 build-essential ruby ruby-dev 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/.gem/ruby/2.7.0/bin:/usr/bin:/bin
11
RUN gem install --user-install /usr/local/src/*.gem arvados-cli
(1-1/2)