Update gitpod.Dockerfile
This commit is contained in:
parent
80be465a99
commit
7d0a5f6092
@ -4,10 +4,11 @@ FROM gitpod/workspace-full-vnc:latest
|
|||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# APT management (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get)
|
# APT management (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get)
|
||||||
RUN add-apt-repository \
|
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - \
|
||||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
&& add-apt-repository \
|
||||||
$(lsb_release -cs) \
|
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||||
stable" \
|
$(lsb_release -cs) \
|
||||||
|
stable" \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - \
|
&& 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/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& apt autoremove -y
|
&& apt autoremove -y
|
||||||
|
|
||||||
# Add docker
|
|
||||||
RUN
|
|
||||||
|
|
||||||
# Add custom functions
|
# Add custom functions
|
||||||
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
|
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
|
||||||
'# Custom' \
|
'# Custom' \
|
||||||
|
Loading…
Reference in New Issue
Block a user