This commit is contained in:
Kreyren 2020-02-22 21:30:18 +00:00
parent 2af3c3a669
commit 0e3bee841b
2 changed files with 17 additions and 2 deletions

@ -11,3 +11,4 @@ vscode:
- serayuzgur.crates@0.4.7:HMkoguLcXp9M3ud7ac3eIw== - serayuzgur.crates@0.4.7:HMkoguLcXp9M3ud7ac3eIw==
- timonwong.shellcheck@0.9.0:hsU/Rd39aqPYowTqL+DbXg== - timonwong.shellcheck@0.9.0:hsU/Rd39aqPYowTqL+DbXg==
- krosf.vscode-valgrind@0.0.1:YTn5lOY8OnPKJYDqJPr/Sg== - krosf.vscode-valgrind@0.0.1:YTn5lOY8OnPKJYDqJPr/Sg==
- matklad.rust-analyzer@0.1.20200217:zozmBmOg1N91pRISIsYXBg==

@ -20,3 +20,17 @@ RUN useradd \
--shell /bin/bash \ --shell /bin/bash \
--password gitpod \ --password gitpod \
gitpod || exit 1 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