forked from mrubyc/mrubyc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (26 loc) · 709 Bytes
/
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
FROM ubuntu:bionic
RUN apt-get update && \
apt-get install -y \
build-essential \
wget \
texinfo \
git \
default-jre && \
apt-get clean
WORKDIR /tmp
RUN wget https://github.com/kubilus1/gendev/releases/download/0.7.1/gendev_0.7.1_all.deb
RUN dpkg -i ./gendev_0.7.1_all.deb
COPY gendev-mega-mrubyc.patch /tmp
WORKDIR /opt/gendev
RUN patch -p2 < /tmp/gendev-mega-mrubyc.patch
# Install rake (needed for buildingmruby) and build mruby
RUN apt-get update && \
apt-get install -y \
rake && \
apt-get clean
RUN mkdir /opt/mruby
WORKDIR /opt
RUN git clone https://github.com/mruby/mruby.git
WORKDIR /opt/mruby
RUN make
RUN cp bin/* /usr/local/bin/