From c898dd1de3f43e6c773c519f6c5514fa12343eea Mon Sep 17 00:00:00 2001
From: physihan <physihan@outlook.com>
Date: Mon, 23 Dec 2019 15:13:05 +0000
Subject: [PATCH] Add Gitpod config

---
 .gitpod.Dockerfile | 10 ++++++++++
 .gitpod.yml        |  5 +++++
 README.md          |  2 ++
 3 files changed, 17 insertions(+)
 create mode 100644 .gitpod.Dockerfile
 create mode 100644 .gitpod.yml

diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
new file mode 100644
index 0000000..04465ca
--- /dev/null
+++ b/.gitpod.Dockerfile
@@ -0,0 +1,10 @@
+FROM gitpod/workspace-full
+                    
+USER gitpod
+
+# Install custom tools, runtime, etc. using apt-get
+# For example, the command below would install "bastet" - a command line tetris clone:
+#
+# RUN sudo apt-get -q update && #     sudo apt-get install -yq bastet && #     sudo rm -rf /var/lib/apt/lists/*
+#
+# More information: https://www.gitpod.io/docs/42_config_docker/
diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 0000000..40f8cfc
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,5 @@
+tasks:
+  - init: cargo build
+    command: cargo watch -x run
+image:
+  file: .gitpod.Dockerfile
diff --git a/README.md b/README.md
index 7e76031..574533c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/rust-lang/rustlings) 
+
 ![crab pet](https://i.imgur.com/LbZJgmm.gif)
 
 # rustlings 🦀❤️