-
Notifications
You must be signed in to change notification settings - Fork 728
/
Dockerfile
24 lines (17 loc) · 657 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
FROM ruby:3.1.4
RUN apt-get update -qq && \
apt-get install -y build-essential cmake git tzdata libpq-dev ruby-dev curl
# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
apt-get install -y nodejs
# yarn
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -\
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install -y yarn
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /app
WORKDIR /app
RUN gem install bundler -v 2.1.4
ENTRYPOINT ["./docker-entrypoint.sh"]
CMD ["bash"]