-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
33 lines (25 loc) · 1.21 KB
/
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
25
26
27
28
29
30
31
32
33
FROM ubuntu:14.04
RUN apt-get update -y -qq && \
apt-get install -y -qq git-core curl zlib1g-dev build-essential libcurl4-openssl-dev libreadline-dev
RUN cd && \
git clone --depth 1 git://github.com/sstephenson/rbenv.git .rbenv && \
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc && \
echo 'eval "$(rbenv init -)"' >> ~/.bashrc && \
exec $SHELL && \
git clone --depth 1 git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build && \
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc && \
exec $SHELL
ENV PATH $HOME/.rbenv/plugins/ruby-build/bin:$PATH
RUN /root/.rbenv/bin/rbenv install 2.6.3 && \
/root/.rbenv/bin/rbenv global 2.6.3
RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc
RUN /root/.rbenv/shims/gem install zendesk_apps_tools
ENV PATH /root/.rbenv/plugins/ruby-build/bin:/root/.rbenv/shims:/root/.rbenv/bin:$HOME/.rbenv/plugins/ruby-build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN locale-gen en_US.UTF-8 && export LC_CTYPE=en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - && \
apt-get install -y nodejs --force-yes
EXPOSE 4567
WORKDIR /data