forked from hexlet-basics/hexlet-basics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 652 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ruby:3.0.1
RUN apt-get update \
&& apt-get install -y build-essential libpq-dev libsqlite3-dev
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
ENV DOCKER_CHANNEL stable
ENV DOCKER_VERSION 20.10.6
RUN curl -fsSL "https://download.docker.com/linux/static/${DOCKER_CHANNEL}/x86_64/docker-${DOCKER_VERSION}.tgz" \
| tar -xzC /usr/local/bin --strip=1 docker/docker
RUN apt-get update && apt-get install -y nodejs
RUN npm install -g npm-check-updates
RUN npm install -g yarn
RUN yarn set version berry
# RUN yarn config set --home enableTelemetry 0
ENV BUNDLE_PATH /root/hexlet-basics/vendor/bundle
WORKDIR /root/hexlet-basics