2018-05-30 00:54:33 +02:00
|
|
|
# Download base image ubuntu 18.04
|
2018-05-30 00:50:53 +02:00
|
|
|
FROM ubuntu:18.04
|
2017-06-26 00:12:40 +02:00
|
|
|
|
|
|
|
# Update Software repository
|
|
|
|
RUN apt-get -qq update
|
|
|
|
|
2018-05-31 23:26:49 +02:00
|
|
|
# Install required packets from ubuntu repository
|
2018-06-01 00:26:54 +02:00
|
|
|
RUN apt-get install -y apt-transport-https curl cmake bsdmainutils wget vim nano git binutils autoconf automake make cmake qemu-kvm qemu-system-x86 nasm gcc g++ ca-certificates build-essential libtool
|
2017-06-26 00:12:40 +02:00
|
|
|
|
|
|
|
# add path to hermitcore packets
|
2018-05-30 00:54:33 +02:00
|
|
|
RUN echo "deb [trusted=yes] https://dl.bintray.com/hermitcore/ubuntu bionic main" | tee -a /etc/apt/sources.list
|
2017-06-26 00:12:40 +02:00
|
|
|
|
|
|
|
# Update Software repository
|
|
|
|
RUN apt-get -qq update
|
|
|
|
|
|
|
|
# Install required packets from ubuntu repository
|
2019-02-26 10:08:31 +01:00
|
|
|
RUN apt-get install -y --allow-unauthenticated binutils-hermit newlib-hermit pte-hermit gcc-hermit libhermit libomp-hermit
|
2018-05-08 16:24:12 +02:00
|
|
|
|
2017-06-26 00:12:40 +02:00
|
|
|
ENV PATH="/opt/hermit/bin:${PATH}"
|
|
|
|
ENV EDITOR=vim
|
|
|
|
|
|
|
|
CMD echo "This is a HermitCore's toolchain!"; /bin/bash
|