From a6efe9e33ff6534118f2f77f9c868495da60e84a Mon Sep 17 00:00:00 2001 From: Furisto <24721048+Furisto@users.noreply.github.com> Date: Tue, 28 Dec 2021 14:34:03 +0100 Subject: [PATCH] Add gitpod as development option --- .gitpod.Dockerfile | 9 +++++++++ .gitpod.yml | 5 +++++ README.md | 4 +++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .gitpod.Dockerfile create mode 100644 .gitpod.yml diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000000..f9473409d6 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,9 @@ +FROM gitpod/workspace-full + +RUN sudo apt-get update && sudo apt-get install -y \ + pkg-config \ + libsystemd-dev \ + libdbus-1-dev \ + build-essential \ + libelf-dev \ + libseccomp-dev \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000..ba2aad927d --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,5 @@ +image: + file: .gitpod.Dockerfile +tasks: + - name: Build + init: cargo build \ No newline at end of file diff --git a/README.md b/README.md index 1ecba6df02..1a3ca345a3 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,9 @@ The User and Developer Documentation for youki is hosted at [https://containers. # Getting Started Local build is only supported on Linux. -For other platforms, please use [Vagrantfile](#setting-up-vagrant) that we prepared. +For other platforms, please use the [Vagrantfile](#setting-up-vagrant) that we have prepared. You can also spin up a fully preconfigured development environment in the cloud with gitpod. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/containers/youki) ## Requires