-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (20 loc) · 671 Bytes
/
Dockerfile
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
FROM ruby:3.2
MAINTAINER Dmitriy.Rotatii "[email protected]"
ENV S3_KEY ""
ENV S3_PRIVATE_KEY ""
ENV PALLADIUM_TOKEN ""
ENV DOCUMENTSERVER_JWT ""
RUN mkdir -pv ~/.s3 && \
echo $S3_KEY > ~/.s3/key && \
echo $S3_PRIVATE_KEY > ~/.s3/private_key
RUN mkdir ~/.documentserver
RUN echo $DOCUMENTSERVER_JWT > ~/.documentserver/documentserver_jwt
RUN mkdir ~/.palladium
RUN echo $PALLADIUM_TOKEN > ~/.palladium/token
RUN apt-get update && apt-get -y -q install libmagic-dev
RUN mkdir /convert_service_testing
WORKDIR /convert_service_testing
ADD . /convert_service_testing
RUN gem install bundler
RUN bundle config set without 'test development'
RUN bundle install