2024-02-22 21:43:25 +00:00
|
|
|
FROM ruby:3.3-alpine3.19
|
|
|
|
|
|
|
|
RUN apk add --no-cache git openssh-client rsync && \
|
|
|
|
echo -e "StrictHostKeyChecking no" >> /etc/ssh/ssh_config && \
|
|
|
|
mkdir /root/.ssh
|
2019-07-24 15:50:26 +00:00
|
|
|
|
|
|
|
WORKDIR /outliner
|
|
|
|
COPY . /outliner/
|
|
|
|
|
2024-02-22 21:43:25 +00:00
|
|
|
RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc && \
|
|
|
|
apk add --no-cache alpine-sdk && \
|
|
|
|
gem update --system && \
|
|
|
|
gem install bundler && \
|
2019-08-12 13:57:32 +00:00
|
|
|
bundle install && \
|
2024-02-22 21:43:25 +00:00
|
|
|
apk del --no-cache alpine-sdk && \
|
|
|
|
rm ~/.gemrc
|
2019-07-24 15:50:26 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/outliner/entrypoint.sh"]
|