2017-06-26 00:12:40 +02:00
|
|
|
#Download base image ubuntu 16.04
|
|
|
|
FROM ubuntu:16.04
|
|
|
|
|
|
|
|
# Update Software repository
|
|
|
|
RUN apt-get -qq update
|
|
|
|
|
|
|
|
# add https support
|
|
|
|
RUN apt-get install -y apt-transport-https
|
|
|
|
|
|
|
|
# add path to hermitcore packets
|
|
|
|
RUN echo "deb https://dl.bintray.com/rwth-os/hermitcore vivid main" | tee -a /etc/apt/sources.list
|
|
|
|
|
|
|
|
# Update Software repository
|
|
|
|
RUN apt-get -qq update
|
|
|
|
|
|
|
|
# Install required packets from ubuntu repository
|
2017-06-26 00:36:53 +02:00
|
|
|
RUN apt-get install -y curl wget vim nano git binutils autoconf automake make cmake qemu-system-x86 nasm gcc
|
2017-06-26 00:12:40 +02:00
|
|
|
RUN apt-get install -y --allow-unauthenticated binutils-hermit libhermit newlib-hermit pthread-embedded-hermit gcc-hermit
|
|
|
|
|
|
|
|
ENV PATH="/opt/hermit/bin:${PATH}"
|
|
|
|
ENV EDITOR=vim
|
|
|
|
|
|
|
|
CMD echo "This is a HermitCore's toolchain!"; /bin/bash
|