From 7cbbb045ba5ea34d98d0b76f10e92051e230335a Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 28 Sep 2020 21:24:37 +0200 Subject: [PATCH 1/4] More Gitpod optimize --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 78437404c..3a70e3836 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,5 @@ tasks: - - before: pip3 install -U platformio && brew install uncrustify + - before: brew install uncrustify command: platformio run -e tasmota image: From 7578a0217a887ae17caa7f6a62d348158c7d2ccc Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 28 Sep 2020 21:28:07 +0200 Subject: [PATCH 2/4] Install Platformio in Docker --- .gitpod.Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 9ca5bdf5c..f18497111 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -2,9 +2,4 @@ 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/config-docker/ +RUN sudo pip3 install -U platformio From 4864c29cfc8b3fb8dd75d5f869b893b66750f774 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 29 Sep 2020 08:46:35 +0200 Subject: [PATCH 3/4] Update .gitpod.Dockerfile --- .gitpod.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index f18497111..909bcf681 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -2,4 +2,4 @@ FROM gitpod/workspace-full USER gitpod -RUN sudo pip3 install -U platformio +RUN pip3 install -U platformio && brew install uncrustify From 365802a693b7a98f483ccf5dc74f877654859546 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 29 Sep 2020 08:47:21 +0200 Subject: [PATCH 4/4] Update .gitpod.yml --- .gitpod.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 3a70e3836..731fec2a1 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,6 +1,5 @@ -tasks: - - before: brew install uncrustify - command: platformio run -e tasmota + tasks: + - command: platformio run -e tasmota image: file: .gitpod.Dockerfile