-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (24 loc) · 727 Bytes
/
Dockerfile
File metadata and controls
28 lines (24 loc) · 727 Bytes
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
# ARC Toolchain Builder - Linux 64
#
# Version 1.0
FROM ubuntu:12.04
MAINTAINER Calvin Sangbin Park <calvinspark@gmail.com>
# Use bash. I like bash.
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# Install the dependencies.
RUN apt-get update && \
apt-get install -y \
build-essential byacc \
flex \
git-core \
libexpat1-dev libncurses5-dev libx11-dev \
software-properties-common \
texinfo texlive \
wget \
zlib1g-dev && \
apt-get clean
# Get patchelf
RUN wget http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2 && tar -xf patchelf-0.8.tar.bz2
WORKDIR patchelf-0.8
RUN ./configure && make && make install
RUN ln --symbolic /usr/local/bin/patchelf /bin/patchelf