-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·81 lines (63 loc) · 1.73 KB
/
Dockerfile
File metadata and controls
executable file
·81 lines (63 loc) · 1.73 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
FROM ruby:2.6.5-slim
LABEL version="1.0"
LABEL name="Nick Janetakis <nick.janetakis@gmail.com>"
RUN export DEBIAN_FRONTEND=noninteractive
ENV RAILS_ENV=production \
RACK_ENV=production
RUN apt update && \
apt-get install -y \
curl \
build-essential \
default-libmysqlclient-dev \
cron \
vim \
libgmp-dev \
libssl-dev \
git-core \
openssl \
less \
net-tools \
sudo \
telnet \
socat \
dnsutils \
netcat \
tree \
ssh \
rsync \
python \
python-pip \
jq \
git \
software-properties-common \
supervisor \
rsync \
htop \
nano \
tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_13.x | bash -
RUN apt-get install -y nodejs \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
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 -qq && apt-get install -y nodejs postgresql-client vim && \
apt-get install -y yarn && \
apt-get install -y imagemagick && \
apt-get install -y libvips-tools && \
apt-get install -y locales \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
RUN dpkg-reconfigure --frontend noninteractive tzdata
RUN gem update --system
RUN echo 'gem: --no-document' >> ~/.gemrc
RUN gem update
RUN gem install nokogiri -v '1.10.7'
RUN gem install bundler:1.17.3
RUN gem install bundler procodile whenever tzinfo tzinfo-data
RUN gem install bundler foreman procodile whenever tzinfo tzinfo-data \
&& gem cleanup
EXPOSE 3000