forked from cockroachdb/examples-orms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
37 lines (25 loc) · 1.06 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
34
35
36
37
FROM openjdk:8
RUN apt-get update -y
RUN apt-get install -y zlib1g zlib1g-dev
# installations for django
RUN apt-get install -y python3 python3-dev python3-pip
# installations for sqlalchemy
RUN apt-get install -y python python-dev python-pip
# installations for node
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt-get -y update
RUN apt-get install -y nodejs
# RUN apt-get install -y ruby-full
RUN apt-get install -y postgresql postgresql-contrib libpq-dev git wget build-essential curl openssl
# Installations for gradle and gradlew
RUN apt-get install gradle -y
# installations for golang
RUN curl https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz -o golang.tar.gz \
&& tar -C /usr/local -xzf golang.tar.gz \
&& rm golang.tar.gz
# installations for ruby
RUN mkdir ruby-install && \
curl -fsSL https://github.com/postmodern/ruby-install/archive/v0.6.1.tar.gz | tar --strip-components=1 -C ruby-install -xz && \
make -C ruby-install install && \
ruby-install --system ruby 2.4.0 && \
gem update --system
ENV PATH /usr/local/go/bin:$PATH