1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00
libhermit/docker/Dockerfile

23 lines
840 B
Text
Raw Permalink Normal View History

# Download base image ubuntu 18.04
2018-05-30 00:50:53 +02:00
FROM ubuntu:18.04
# Update Software repository
RUN apt-get -qq update
# 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
# add path to hermitcore packets
RUN echo "deb [trusted=yes] https://dl.bintray.com/hermitcore/ubuntu bionic main" | tee -a /etc/apt/sources.list
# Update Software repository
RUN apt-get -qq update
# Install required packets from ubuntu repository
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
ENV PATH="/opt/hermit/bin:${PATH}"
ENV EDITOR=vim
CMD echo "This is a HermitCore's toolchain!"; /bin/bash