forked from dockerframework/rvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
50 lines (41 loc) · 1.39 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
38
39
40
41
42
43
44
45
46
47
48
49
50
ARG UBUNTU_VERSION=${UBUNTU_VERSION:-18.04}
ARG RUBY_VERSION=${RUBY_VERSION:-2.7.1}
FROM ubuntu:${UBUNTU_VERSION}
# ================================================================================================
# Inspiration: Docker Framework (https://github.com/zeroc0d3/docker-framework)
# Dwi Fahni Denni <zeroc0d3.0912@gmail.com>
# ================================================================================================
# Core Contributors:
# - Mahmoud Zalt @mahmoudz
# - Bo-Yi Wu @appleboy
# - Philippe Trépanier @philtrep
# - Mike Erickson @mikeerickson
# - Dwi Fahni Denni @zeroc0d3
# - Thor Erik @thorerik
# - Winfried van Loon @winfried-van-loon
# - TJ Miller @sixlive
# - Yu-Lung Shao (Allen) @bestlong
# - Milan Urukalo @urukalo
# - Vince Chu @vwchu
# - Huadong Zuo @zuohuadong
# ================================================================================================
MAINTAINER "Laradock Team <mahmoud@zalt.me>"
RUN apt-get update; sync
RUN apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install \
build-essential \
tar \
bzip2 \
curl \
wget \
libssl-dev \
libreadline-dev \
zlib1g-dev \
gnupg \
gnupg2 \
git
COPY rootfs /
RUN chmod +x /tmp/install.sh
RUN /tmp/install.sh
RUN apt-get -y clean
ONBUILD RUN ["ruby", "/tmp/index.rb"]
EXPOSE 22