Update gitpod.Dockerfile

This commit is contained in:
Kreyren 2020-02-07 11:22:06 +01:00 committed by GitHub
parent 80be465a99
commit 7d0a5f6092
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -4,10 +4,11 @@ FROM gitpod/workspace-full-vnc:latest
ARG DEBIAN_FRONTEND=noninteractive
# APT management (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get)
RUN add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" \
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - \
&& add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" \
&& apt-get update \
&& apt-get upgrade -y \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - \
@ -16,9 +17,6 @@ RUN add-apt-repository \
&& rm -rf /var/lib/apt/lists/* \
&& apt autoremove -y
# Add docker
RUN
# Add custom functions
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
'# Custom' \