diff --git a/.gitpod.yml b/.gitpod.yml index 17c8e6b..c905214 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -10,4 +10,5 @@ vscode: - belfz.search-crates-io@1.2.1:kSLnyrOhXtYPjQpKnMr4eQ== - serayuzgur.crates@0.4.7:HMkoguLcXp9M3ud7ac3eIw== - timonwong.shellcheck@0.9.0:hsU/Rd39aqPYowTqL+DbXg== - - krosf.vscode-valgrind@0.0.1:YTn5lOY8OnPKJYDqJPr/Sg== \ No newline at end of file + - krosf.vscode-valgrind@0.0.1:YTn5lOY8OnPKJYDqJPr/Sg== + - matklad.rust-analyzer@0.1.20200217:zozmBmOg1N91pRISIsYXBg== \ No newline at end of file diff --git a/gitpod/debian.Dockerfile b/gitpod/debian.Dockerfile index 7c125d0..50d3b0f 100644 --- a/gitpod/debian.Dockerfile +++ b/gitpod/debian.Dockerfile @@ -19,4 +19,18 @@ RUN useradd \ --create-home --home-dir /home/gitpod \ --shell /bin/bash \ --password gitpod \ - gitpod || exit 1 \ No newline at end of file + gitpod || exit 1 + +# Install dependencies +RUN apt update \ + && apt upgrade -y \ + && apt dist-upgrade -y \ + && apt install -y rustc \ + && apt autoremove -y \ + && rm -rf /var/lib/apt/lists/* + +# Add custom functions +RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \ + '# Custom' \ + "ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \ + >> /etc/bash.bashrc; fi \ No newline at end of file