mirror of
https://github.com/captn3m0/outliner.git
synced 2024-09-10 13:46:27 +00:00
fd3826a622
Updated the base image to ruby:3.3-alpine3.19, install alpine-sdk to be able to build all dependencies
19 lines
471 B
Docker
19 lines
471 B
Docker
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
|
|
|
|
WORKDIR /outliner
|
|
COPY . /outliner/
|
|
|
|
RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc && \
|
|
apk add --no-cache alpine-sdk && \
|
|
gem update --system && \
|
|
gem install bundler && \
|
|
bundle install && \
|
|
apk del --no-cache alpine-sdk && \
|
|
rm ~/.gemrc
|
|
|
|
ENTRYPOINT ["/outliner/entrypoint.sh"]
|