-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (24 loc) · 975 Bytes
/
Dockerfile
File metadata and controls
28 lines (24 loc) · 975 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
FROM ruby:3.3
MAINTAINER Pavel.Lobashov "shockwavenn@gmail.com"
ENV VERSION="8.2.1"
ENV DIST="stable"
RUN apt-get update && \
apt-get --no-install-recommends -y -q install \
git \
curl \
libmagic-dev \
poppler-utils && \
rm -rf /var/lib/apt/lists/*
RUN gem install bundler
COPY . /doc-builder-testing
WORKDIR /doc-builder-testing
RUN bundle config set without 'development' && \
bundle install
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN echo "deb [trusted=yes] https://s3.eu-west-1.amazonaws.com/repo-doc-onlyoffice-com/repo/debian $DIST $VERSION" | \
tee /etc/apt/sources.list.d/onlyoffice-dev.list && \
apt-get -y update && \
apt-get --no-install-recommends -y install onlyoffice-documentbuilder=$VERSION-* && \
rm -rf /var/lib/apt/lists/*
RUN cat /etc/apt/sources.list.d/onlyoffice-dev.list
CMD ["sh", "dockerfiles/entrypoint.sh"]