File: Dockerfile

package info (click to toggle)
cewl 6.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 268 kB
  • sloc: ruby: 2,161; sh: 16; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ruby:3-alpine

ENV RUBYOPT "rrubygems"

COPY Gemfile /usr/src/CeWL/
WORKDIR /usr/src/CeWL

RUN apk add gcompat
RUN set -ex \
    && apk add  --no-cache --virtual .build-deps build-base \
    && gem install bundler \
    && bundle install \
    && apk del .build-deps

COPY . /usr/src/CeWL

WORKDIR /host
ENTRYPOINT ["/usr/src/CeWL/cewl.rb"]