-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
46 lines (40 loc) · 989 Bytes
/
Dockerfile
File metadata and controls
46 lines (40 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM ruby:3.4
ENV ROOTDIR=/usr/src/app
ENV HOME=/usr/src/app
# Install Debian packages
RUN apt-get update && apt-get install -y \
bsd-mailx \
cpanminus \
curl \
git \
libcrypt-ssleay-perl \
libdate-manip-perl \
libdbd-mariadb-perl \
libdevel-cover-perl \
libjson-xs-perl \
libmarc-file-mij-perl \
libmarc-perl \
libmarc-record-perl \
libmarc-xml-perl \
libmariadb-dev \
libnet-ssleay-perl \
libtest-output-perl \
libwww-perl \
libxml-libxml-perl \
libyaml-libyaml-perl \
msmtp-mta \
perl \
pigz \
ruby-dev
# Install perl modules that we cannot get with apt-get
RUN cpanm --notest \
Devel::Cover::Report::Coveralls \
https://github.com/hathitrust/progress_tracker.git@v0.11.1
COPY . $ROOTDIR
WORKDIR $ROOTDIR
# Ruby setup
ENV BUNDLE_PATH=/gems
ENV RUBYLIB=/usr/src/app/lib
RUN bundle config --global silence_root_warning 1
RUN bundle install
CMD ["run_process_zephir_incremental.sh"]