Skip to content

Instantly share code, notes, and snippets.

@beriberikix
Last active July 22, 2019 02:16
Show Gist options
  • Save beriberikix/4c6a55e741668367e237cb37e2f8e98c to your computer and use it in GitHub Desktop.
Save beriberikix/4c6a55e741668367e237cb37e2f8e98c to your computer and use it in GitHub Desktop.
Docker environment for developing with Unikraft (http://unikraft.org/)
# Run the "hello world" app:
# cd apps/helloworld/
# make menuconfig
# Go to "Platform Configuration" and select `Linux user space`
# Go to "Library Configuration" and select `ukschedcoop` and Save
# `make` to build and `./build/helloworld_linuxu-x86_64` to run
FROM ubuntu:latest
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y build-essential cmake gdb git libncurses-dev nano unzip wget
WORKDIR /root
RUN mkdir apps && cd apps && \
git clone https://xenbits.xen.org/git-http/unikraft/apps/helloworld.git
RUN mkdir libs && cd libs && \
git clone https://xenbits.xen.org/git-http/unikraft/libs/newlib.git
RUN git clone https://xenbits.xen.org/git-http/unikraft/unikraft.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment