-
Notifications
You must be signed in to change notification settings - Fork 37
/
Containerfile
25 lines (23 loc) · 1.18 KB
/
Containerfile
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 quay.io/official-images/debian
RUN bash -c "echo cache buster 22"
RUN bash -c "apt update"
RUN apt --yes upgrade
RUN apt --yes install build-essential curl procps git
RUN gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
RUN \curl -sSL https://get.rvm.io/ | bash -s stable
#RUN /bin/bash -l -c ". /etc/profile.d/rvm.sh && rvm install 2.6.4 && rvm use 2.6.4"
RUN bash -l -c "rvm install 3.2.2"
RUN bash -l -c "rvm use 3.2.2"
WORKDIR /srv/
ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN bash -l -c "gem install http_parser.rb -v '0.8.0' --source 'https://rubygems.org/'"
RUN bash -l -c "gem install bundler --source 'https://rubygems.org/'"
RUN bash -l -c "gem install bundle --source 'https://rubygems.org/'"
RUN bash -c "echo cache buster 23"
RUN bash -l -c "bundle install"
RUN bash -l -c "\curl https://nodejs.org/dist/v18.17.1/node-v18.17.1-linux-x64.tar.xz > /usr/local/node.tar.xz"
RUN bash -l -c "cd /usr/local ; tar xJf node.tar.xz --strip-components=1"
RUN bash -l -c "npm install -g @mermaid-js/mermaid-cli"
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENTRYPOINT bash -l