forked from open-power/HTX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
9 lines (9 loc) · 699 Bytes
/
Dockerfile
File metadata and controls
9 lines (9 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
FROM ubuntu:16.04
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yy make gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu
RUN dpkg --add-architecture ppc64el
RUN sed -i -e 's/^deb /deb [arch=amd64] /' /etc/apt/sources.list
RUN echo 'deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports xenial main universe restricted' >> /etc/apt/sources.list
RUN echo 'deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports xenial-security main universe restricted' >> /etc/apt/sources.list
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yy libncurses5:ppc64el libncurses-dev libdapl-dev:ppc64el